Skip to content

Commit

Permalink
pomodoro 45 minutos first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
suzdalenko committed Jul 6, 2023
0 parents commit 3168dce
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"java.project.sourcePaths": ["src"],
"java.project.outputPath": "bin",
"java.project.referencedLibraries": [
"lib/**/*.jar"
]
}
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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).
Binary file added bin/App.class
Binary file not shown.
Binary file added bin/MainFrame.class
Binary file not shown.
8 changes: 8 additions & 0 deletions src/App.java
Original file line number Diff line number Diff line change
@@ -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();
}
}
11 changes: 11 additions & 0 deletions src/MainFrame.java
Original file line number Diff line number Diff line change
@@ -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);
}
}

0 comments on commit 3168dce

Please sign in to comment.