Answers for "how to change width and height of jframe"

5

set size of a jframe

import java.util.*;
public static void main(string args){
JFrame frame = new JFrame();
frame.setSize(200,200); // Where you set size
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
}
Posted by: Guest on June-13-2020

Code answers related to "how to change width and height of jframe"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language