basic JFrame now.

refer : http://java.keicode.com/lib/swing-frame-basic.php