mirror of
https://github.com/lov3b/Schack.git
synced 2025-01-18 21:00:11 +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 {
|
public class Schack {
|
||||||
|
|
||||||
|
JFrame frame;
|
||||||
|
|
||||||
public Schack() throws IOException {
|
public Schack() throws IOException {
|
||||||
// Set theme
|
// Set theme
|
||||||
try {
|
try {
|
||||||
@ -32,7 +34,7 @@ public class Schack {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
JFrame frame = new JFrame();
|
frame = new JFrame();
|
||||||
frame.setTitle("Schack");
|
frame.setTitle("Schack");
|
||||||
frame.setAlwaysOnTop(false);
|
frame.setAlwaysOnTop(false);
|
||||||
frame.setResizable(false);
|
frame.setResizable(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user