Initial commit

This commit is contained in:
Matej Pacan
2022-02-05 17:07:12 +01:00
commit 2bff76cada
5 changed files with 221 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
package org.mineacademy.mavenprogram;
import javax.swing.JOptionPane;
/**
* The main program's class.
*/
public class MavenProgram {
/**
* The main program's method. Every Java program has this method.
* Your entire program starts here.
*
* Example: When you start your Minecraft, it too uses this method
* to initialise everything and make sure the program then runs
* indefinitely until you close it.
*
* @param args
*/
public static void main(String[] args) {
// Simple method to show a closeable dialog
JOptionPane.showMessageDialog(null, "Java is fun");
}
}