Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

create jframe java

public JFrame frame = new JFrame();//creating jframe

Class main(){
public static void main(String[] args){
  frame.setSize(200,200); //setting size
  frame.setVisable(true); //sets visability 
  frame.setDefaultCloseOperation.(JFrame.EXIT_ON_CLOSE); //allow jframe to close when clicked

}
  }
 
PREVIOUS NEXT
Tagged: #create #jframe #java
ADD COMMENT
Topic
Name
8+2 =