Created
July 12, 2011 01:45
-
-
Save tarchan/1077229 to your computer and use it in GitHub Desktop.
JavaScriptでSwingのウインドウを表示する
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
importPackage(javax.swing); | |
frame = new JFrame("sample"); | |
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); | |
frame.setSize(400, 300); | |
frame.setLocationByPlatform(true); | |
frame.setVisible(true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment