프래임
-
frameTIL(today i learned)/java 2020. 9. 15. 21:47
프래임은 쉽게말해 스케치북을 평평하게 받쳐주는 책상이라생각하면된다 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 import javax.swing.JFrame; class myframe extends JFrame { public myframe() { setTitle("실험중 "); setSize(300,300); setVisible(true); } } public class frame { public static void main(String[] args) { // TODO Auto-generated method stub myframe my=new myframe(); } } Colored by Color Scripter cs