Set Size Of A Jframe

[Solved] Set Size Of A Jframe | Java - Code Explorer | yomemimo.com
Question : set size of a jframe

Answered by : ethan-ott

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);
}

Source : | Last Update : Sat, 20 Jun 20

Answers related to set size of a jframe

Code Explorer Popular Question For Java