Pages

Kamis, 06 September 2012

Contoh Program Java Lembar 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:


Tidak ada komentar:

Posting Komentar

Please Give Your Feedback Or Message.
Thank You!!?