From 3168dce7092678f78e5fff91ca3ae65dfc34ecd2 Mon Sep 17 00:00:00 2001 From: "suzdalenko.suzdalenko@gmail.com" Date: Thu, 6 Jul 2023 14:57:58 +0200 Subject: [PATCH] pomodoro 45 minutos first commit --- .vscode/settings.json | 7 +++++++ README.md | 18 ++++++++++++++++++ bin/App.class | Bin 0 -> 655 bytes bin/MainFrame.class | Bin 0 -> 532 bytes src/App.java | 8 ++++++++ src/MainFrame.java | 11 +++++++++++ 6 files changed, 44 insertions(+) create mode 100644 .vscode/settings.json create mode 100644 README.md create mode 100644 bin/App.class create mode 100644 bin/MainFrame.class create mode 100644 src/App.java create mode 100644 src/MainFrame.java diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..e112a70 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "java.project.sourcePaths": ["src"], + "java.project.outputPath": "bin", + "java.project.referencedLibraries": [ + "lib/**/*.jar" + ] +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..7c03a53 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +## Getting Started + +Welcome to the VS Code Java world. Here is a guideline to help you get started to write Java code in Visual Studio Code. + +## Folder Structure + +The workspace contains two folders by default, where: + +- `src`: the folder to maintain sources +- `lib`: the folder to maintain dependencies + +Meanwhile, the compiled output files will be generated in the `bin` folder by default. + +> If you want to customize the folder structure, open `.vscode/settings.json` and update the related settings there. + +## Dependency Management + +The `JAVA PROJECTS` view allows you to manage your dependencies. More details can be found [here](https://github.com/microsoft/vscode-java-dependency#manage-dependencies). diff --git a/bin/App.class b/bin/App.class new file mode 100644 index 0000000000000000000000000000000000000000..4b5df572f2ce86eac990645c6b04dc43589aaddb GIT binary patch literal 655 zcmZuu*-jfl5Ueq4*1Ighv9TcuB$(4&@dp?pMNtqB%OROKig+5EkuzuyYrRJBS?~Z7 zk@5lgC`64-u#k9|?&<07s_vS95BGlo>|)zSMqun~w`;=^$e+s#Sqo&;sU5Y>RXY_J z-_emyzp$vf-W0ID#b?UJ7#t5-j0;TpI#P%Iu%(g{*$R|E!H?TAXv##J`03F~f9sw= z)+be+Frn0uK)HJAk0={yqN7gT(74|(+p3%DIO^Fb2oy(E&lv~PDBCE#7`t)ROI7G$ z2D2PF?sJ3EkV40`W8$Y|Q8KLO@LphYUj;$DweT}eg0qT?IefG+|DWzT9#xSQKy$xZYkOLrPVFW6X+&Ril?>$pE=?2BZyIXwtgUYWvEcu(aSRTO^*aFUx;{!9XTws%N23wCT0E86) literal 0 HcmV?d00001 diff --git a/bin/MainFrame.class b/bin/MainFrame.class new file mode 100644 index 0000000000000000000000000000000000000000..748a67c07b1d38051fd491afc2bffe4617422b98 GIT binary patch literal 532 zcmYjNxlY4C5Ph3CabnC7ARGxdjj<5^0FDNP6l4y`kb-VQ7Fck+$Oj<)ipEG36qI}v zVm3s9W@cyR?R#(L>-+r!z%JHJ6d0<SesNZKO@5o4| zdkjTqqs?IKtFEw6MAb$KWrlHIM&cyvbwqs5JE0&NUtRIA&10$SLDNWYWx_Dx4<)yW zOjB1d!7z2EdaA2pwGw16T^@?)URfY68&jBOs3amim#L<&JHGbmg`8XlX-sCfH`*FJ zV`CO`3?_jC`9j!|(`xxp4;AB^%3FVXz3> zmWk|dWjL35e=AT~d?gO0wlX$cW=mVbDw!zKeSreK=sXlnsyxb!a>;!|<+VSyDC#j_ zV1%Om3!pqo6;TgAUl66nHQmYa95uJbK5J|Zqat P>z_n(D6vY&0@i*25m#bN literal 0 HcmV?d00001 diff --git a/src/App.java b/src/App.java new file mode 100644 index 0000000..8308dd7 --- /dev/null +++ b/src/App.java @@ -0,0 +1,8 @@ +public class App { + public static void main(String[] args) throws Exception { + System.out.println("Hello, World!"); + + MainFrame mainFrame = new MainFrame(); + mainFrame.init(); + } +} diff --git a/src/MainFrame.java b/src/MainFrame.java new file mode 100644 index 0000000..09fb6f2 --- /dev/null +++ b/src/MainFrame.java @@ -0,0 +1,11 @@ +import javax.swing.JFrame; +import javax.swing.WindowConstants; + +public class MainFrame extends JFrame{ + public void init(){ + setTitle("Pomodoro Suzdalenko"); + setSize(450, 300); + setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); + setVisible(true); + } +}