|
|
@ -108,6 +108,52 @@ public class TikTakToeGame extends JFrame{ |
|
|
|
textFieldAusgabe3.setBackground(Color.PINK); |
|
|
|
textFieldAusgabe3.setBounds(424, 113, 150, 20); |
|
|
|
contentPane.add(textFieldAusgabe3); |
|
|
|
|
|
|
|
btnNewButton1.setFont(new Font("Consolas", Font.PLAIN, 70)); |
|
|
|
btnNewButton1.setForeground(new Color(255, 255, 204)); |
|
|
|
btnNewButton1.setBackground(new Color(255, 255, 204)); |
|
|
|
btnNewButton1.setBounds(64, 72, 80, 80); |
|
|
|
panelHauptFeld.add(btnNewButton1); |
|
|
|
|
|
|
|
btnNewButton2.setForeground(new Color(255, 0, 128)); |
|
|
|
btnNewButton2.setBackground(new Color(255, 255, 204)); |
|
|
|
btnNewButton2.setBounds(154, 72, 80, 80); |
|
|
|
panelHauptFeld.add(btnNewButton2); |
|
|
|
|
|
|
|
btnNewButton3.setForeground(new Color(255, 0, 128)); |
|
|
|
btnNewButton3.setBackground(new Color(255, 255, 204)); |
|
|
|
btnNewButton3.setBounds(244, 72, 80, 80); |
|
|
|
panelHauptFeld.add(btnNewButton3); |
|
|
|
|
|
|
|
btnNewButton4.setForeground(new Color(255, 0, 128)); |
|
|
|
btnNewButton4.setBackground(new Color(255, 255, 204)); |
|
|
|
btnNewButton4.setBounds(64, 163, 80, 80); |
|
|
|
panelHauptFeld.add(btnNewButton4); |
|
|
|
|
|
|
|
btnNewButton5.setForeground(new Color(255, 0, 128)); |
|
|
|
btnNewButton5.setBackground(new Color(255, 255, 204)); |
|
|
|
btnNewButton5.setBounds(154, 163, 80, 80); |
|
|
|
panelHauptFeld.add(btnNewButton5); |
|
|
|
|
|
|
|
btnNewButton6.setForeground(new Color(255, 0, 128)); |
|
|
|
btnNewButton6.setBackground(new Color(255, 255, 204)); |
|
|
|
btnNewButton6.setBounds(244, 163, 80, 80); |
|
|
|
panelHauptFeld.add(btnNewButton6); |
|
|
|
|
|
|
|
btnNewButton7.setForeground(new Color(255, 0, 128)); |
|
|
|
btnNewButton7.setBackground(new Color(255, 255, 204)); |
|
|
|
btnNewButton7.setBounds(64, 254, 80, 80); |
|
|
|
panelHauptFeld.add(btnNewButton7); |
|
|
|
|
|
|
|
btnNewButton8.setForeground(new Color(255, 0, 128)); |
|
|
|
btnNewButton8.setBackground(new Color(255, 255, 204)); |
|
|
|
btnNewButton8.setBounds(154, 254, 80, 80); |
|
|
|
panelHauptFeld.add(btnNewButton8); |
|
|
|
|
|
|
|
btnNewButton9.setForeground(new Color(255, 0, 128)); |
|
|
|
btnNewButton9.setBackground(new Color(255, 255, 204)); |
|
|
|
btnNewButton9.setBounds(244, 254, 80, 80); |
|
|
|
panelHauptFeld.add(btnNewButton9); |
|
|
|
}//end |
|
|
|
|
|
|
|
} |