Kronjuwild #6
|
@ -10,8 +10,11 @@ public class startLocalGame {
|
|||
JLabel leftPlayerName = new JLabel("Name");
|
||||
JLabel rightPlayerName = new JLabel("KI-Level");
|
||||
|
||||
// Grafiken
|
||||
ImageIcon backButtonIcon = new ImageIcon("graphics/backButton.png");
|
||||
|
||||
// Buttons
|
||||
JButton backButton = new JButton("Zurück");
|
||||
JButton backButton = new JButton(backButtonIcon);
|
||||
JButton leftPlayerLeftButton = new JButton("<-");
|
||||
JButton leftPlayerRightButton = new JButton("->");
|
||||
JButton semesterUpButton = new JButton("^");
|
||||
|
@ -29,7 +32,7 @@ public class startLocalGame {
|
|||
frame.setLayout(null);
|
||||
|
||||
// Erstelle Label
|
||||
frameTitle.setBounds(50, 20, 200, 30);
|
||||
frameTitle.setBounds(20, 20, 200, 30);
|
||||
frame.add(frameTitle);
|
||||
|
||||
semesterlable.setBounds(400, 300, 200, 30);
|
||||
|
@ -42,8 +45,10 @@ public class startLocalGame {
|
|||
frame.add(rightPlayerName);
|
||||
|
||||
// Erstellt Buttons
|
||||
backButton.setBounds(800, 20, 120, 30);
|
||||
backButton.setBounds(1380, 20, 80, 80);
|
||||
frame.add(backButton);
|
||||
//backButton.setBorderPainted(false);
|
||||
//backButton.setContentAreaFilled(false);
|
||||
|
||||
leftPlayerLeftButton.setBounds(50, 450, 50, 50);
|
||||
frame.add(leftPlayerLeftButton);
|
||||
|
|
Loading…
Reference in New Issue