MVP Gui and Logic

This commit is contained in:
2023-10-16 18:56:48 +03:00
parent 8e4c32df68
commit 985934f90c
3 changed files with 198 additions and 13 deletions

View File

@@ -1,19 +1,11 @@
package org.lumijiez;
// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`,
// then press Enter. You can now see whitespace characters in your code.
import org.lumijiez.gui.MainFrame;
import javax.swing.*;
public class Main {
public static void main(String[] args) {
// Press Alt+Enter with your caret at the highlighted text to see how
// IntelliJ IDEA suggests fixing it.
System.out.println("Hello and welcome!");
// Press Shift+F10 or click the green arrow button in the gutter to run the code.
for (int i = 1; i <= 5; i++) {
// Press Shift+F9 to start debugging your code. We have set one breakpoint
// for you, but you can always add more by pressing Ctrl+F8.
System.out.println("i = " + i);
}
SwingUtilities.invokeLater(() -> new MainFrame().setVisible(true));
}
}