Kronjuwild #6

Merged
ole merged 12 commits from Kronjuwild into main 2024-11-14 16:23:21 +00:00
4 changed files with 30 additions and 1 deletions
Showing only changes of commit d1f9ff5984 - Show all commits

View File

@ -2,6 +2,7 @@
<library name="jlayer-1.0.3"> <library name="jlayer-1.0.3">
<CLASSES> <CLASSES>
<root url="jar://$USER_HOME$/Downloads/jlayer-master/jlayer-master/target/jlayer-1.0.3.jar!/" /> <root url="jar://$USER_HOME$/Downloads/jlayer-master/jlayer-master/target/jlayer-1.0.3.jar!/" />
<root url="jar://$USER_HOME$/Downloads/jlayer-1.0.3.jar!/" />
</CLASSES> </CLASSES>
<JAVADOC /> <JAVADOC />
<SOURCES /> <SOURCES />

View File

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="VcsDirectoryMappings"> <component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
<mapping directory="$PROJECT_DIR$" vcs="Git" /> <mapping directory="$PROJECT_DIR$" vcs="Git" />
</component> </component>
</project> </project>

View File

@ -1,6 +1,7 @@
public class HalloSchiffeVersenken { public class HalloSchiffeVersenken {
public static void main(String[] args) throws InterruptedException { public static void main(String[] args) throws InterruptedException {
MainMenu mainMenu = new MainMenu();
System.out.println("HelloSchiffeVersenekn"); System.out.println("HelloSchiffeVersenekn");

28
src/MainMenu.java Normal file
View File

@ -0,0 +1,28 @@
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.*;
import javax.swing.JFrame;
import javax.swing.*;
public class MainMenu implements ActionListener {
JFrame frame = new JFrame();
JButton startButton = new JButton("Start");
JLabel text = new JLabel("Studium versenken");
MainMenu(){
startButton.setBounds(100,200,200,50);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(500,500);
frame.setLayout(null);
frame.setVisible(true);
frame.add(startButton);
frame.add(text);
frame.setLocationRelativeTo(null);
}
@Override
public void actionPerformed(ActionEvent e) {
}
}