mirror of
				https://github.com/lov3b/Schack.git
				synced 2025-11-03 22:50:24 +01:00 
			
		
		
		
	JFrame a field of Schack
This commit is contained in:
		@@ -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);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user