-
-
Save RenegadeEagle/e8bc11c9b1f03bea116f to your computer and use it in GitHub Desktop.
For Cameron
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package co.renegadeeagle.jframetest; | |
import javax.swing.JFrame; | |
import javax.swing.JPanel; | |
public class Test extends JFrame{ | |
JPanel panel; | |
public Test(){ | |
super("Test"); | |
panel = new JPanel(); | |
setSize(400, 400); | |
setResizable(false); | |
setDefaultCloseOperation(EXIT_ON_CLOSE); | |
this.setVisible(true); | |
} | |
public static void main(String args[]){ | |
Test test = new Test(); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment