JFrame a field of Schack

This commit is contained in:
lov3b 2022-03-30 17:38:39 +02:00
parent c7231a572a
commit adefef247d

View File

@ -18,6 +18,8 @@ import javax.swing.UIManager;
*/
public class Schack {
JFrame frame;
public Schack() throws IOException {
// Set theme
try {
@ -32,7 +34,7 @@ public class Schack {
}
}
JFrame frame = new JFrame();
frame = new JFrame();
frame.setTitle("Schack");
frame.setAlwaysOnTop(false);
frame.setResizable(false);