Answers for "learn jframe"

8

java create jframe

import javax.swing.JFrame;

public class example {
  public static void main(String[] args){
    JFrame frame = new JFrame();
    frame.setSize(100,100);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOES);
    frame.setTitle("Example Frame");
    frame.setVisible(true);
  }
}
Posted by: Guest on April-17-2020
0

how to import jframe in java

import javax.swing.JFrame;
Posted by: Guest on January-25-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language