import java.awt.Frame;
public class Tarr extends Frame
{
public Tarr() //in constuctor put all the Frame things you need
{
this.setSize(100,100);
this.setVisible(true);
}
}
Then in the Main Function Create a New Object of this Class
import java.awt.Frame;
public class Tarr extends Frame
{
public Tarr() //in constuctor put all the Frame things you need
{
this.setSize(100,100);
this.setVisible(true);
}
}
Then in the Main Function Create a New Object of this Class