|
|
@ -1,6 +1,7 @@ |
|
|
|
package game; |
|
|
|
|
|
|
|
import java.awt.Color; |
|
|
|
import java.awt.Font; |
|
|
|
|
|
|
|
import javax.swing.JFrame; |
|
|
|
import javax.swing.JLabel; |
|
|
@ -23,6 +24,11 @@ public class StartTicTacToeGame{ |
|
|
|
gui.Frame.getContentPane().setBackground(Color.BLACK); |
|
|
|
|
|
|
|
|
|
|
|
//refactoring sollten nicht die funktionalität ändern |
|
|
|
label = new JLabel(); |
|
|
|
label.setText("Tic-Tac-Toe"); |
|
|
|
label.setForeground(Color.white); |
|
|
|
label.setFont(new Font("arial", Font.PLAIN, 30)); |
|
|
|
label.setBounds(320,20,500,50); |
|
|
|
gui.Frame.add(label); |
|
|
|
} |
|
|
|
} |