Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package sample;
- import javax.swing.JFrame;
- import java.awt.GraphicsConfiguration;
- public class Frms2 {
- static GraphicsConfiguration GC;
- public static void main(String[] args){
- JFrame frames = new JFrame(GC);
- frames.setTitle("Welcome to My Program Number 2!");
- frames.setSize(400, 600);
- frames.setVisible(true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement