kleinere Bugfixes und Verschönerungen
parent
bc909c3ba5
commit
9588847c72
|
|
@ -46,6 +46,7 @@ public class ButtonAufgebenListener extends JFrame implements ActionListener {
|
|||
}
|
||||
|
||||
this.sf.setBoardMode(BoardMode.finished);
|
||||
this.sf.enableControlPanelButtons();
|
||||
|
||||
sf.setButtonsActions();
|
||||
|
||||
|
|
|
|||
|
|
@ -87,6 +87,10 @@ public class MainFrame extends JFrame {
|
|||
contentPane.add(Box.createVerticalStrut(15));
|
||||
|
||||
JButton pgnLoaderButton = new JButton("Lade aus PGN Datei");
|
||||
pgnLoaderButton.setBackground(Color.LIGHT_GRAY);
|
||||
pgnLoaderButton.setForeground(Color.BLACK);
|
||||
pgnLoaderButton.setFont(new Font("Tahoma", Font.BOLD, 16));
|
||||
pgnLoaderButton.setAlignmentX(CENTER_ALIGNMENT);
|
||||
pgnLoaderButton.addActionListener(e -> openPgnSelectFrame());
|
||||
contentPane.add(pgnLoaderButton);
|
||||
|
||||
|
|
@ -116,7 +120,7 @@ public class MainFrame extends JFrame {
|
|||
*/
|
||||
public void startGame() {
|
||||
if (this.game != null) {
|
||||
this.game.stopClock();
|
||||
//this.game.stopClock();
|
||||
new SpielFrame(this.game);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue