kleinere Bugfixes und Verschönerungen

main
Matias Mas Viehl 2025-06-25 09:28:32 +02:00
parent bc909c3ba5
commit 9588847c72
3 changed files with 613 additions and 587 deletions

View File

@ -46,6 +46,7 @@ public class ButtonAufgebenListener extends JFrame implements ActionListener {
}
this.sf.setBoardMode(BoardMode.finished);
this.sf.enableControlPanelButtons();
sf.setButtonsActions();

View File

@ -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