Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Meenachi Suppiah   on Apr 14 In Java Category.

  
Question Answered By: Catherine Joe   on Apr 14

import javax.swing.*;
public class frame1 extends JFrame
{
JFrame f;
frame1()
{
f=new JFrame("Creation of Frame");
f.setVisible(true);
f.setSize(250,250);
// f.setLocationRelativeTo(null);
}

public static void main(String args[])
{
frame1 fr=new frame1();
}

}

Share: 

 
 
Didn't find what you were looking for? Find more on simple frame/applet program Or get search suggestion and latest updates.


Tagged: