Kronjuwild #6
|
@ -2,6 +2,7 @@
|
|||
<library name="jlayer-1.0.3">
|
||||
<CLASSES>
|
||||
<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>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
|
@ -1,6 +1,7 @@
|
|||
public class HalloSchiffeVersenken {
|
||||
|
||||
public static void main(String[] args) throws InterruptedException {
|
||||
MainMenu mainMenu = new MainMenu();
|
||||
|
||||
System.out.println("HelloSchiffeVersenekn");
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue