Ads 468x60px

Rabu, 10 April 2013

Contoh Program Java Form Baru

Program Java Lembar Baru.
Program ini menggunakan java JCreator.


import javax.swing.*;
import java.awt.*;

class LembarBaru extends JFrame
{
LembarBaru()
{
setTitle ("   Lembar Baru     ");
setLocation (300,300);
setSize (550,650);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible(true);
}
public static void main (String args[])
{

LembarBaru lb=new LembarBaru();

}
}
Output:

0 Komentar: