Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
th
//'main' method must be in a class 'Rextester'. //openjdk version '11.0.5' import java.util.*; import java.lang.*; import java.awt.*; import javax.swing.*; class Rextester { public static void main(String args[]) { } private static void createWindow() { JFrame frame = new JFrame("Simple GUI"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JLabel textLabel = new JLabel("I'm a label in the window",SwingConstants.CENTER); textLabel.setPreferredSize(new Dimension(300, 100)); } }
run
|
edit
|
history
|
help
0
quickSort_LinkedList
191fa07050
Test.java
4.d
Cyclically rotate array
1.7
Info by dfs
assignment 3
練習問題
classwork