mirror of
https://github.com/lov3b/Schack.git
synced 2025-01-18 12:50:10 +01:00
JFrame a field of Schack
This commit is contained in:
parent
c7231a572a
commit
adefef247d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user