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:
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:
Posting Komentar