Answers for "jframe setsize method in java swing parameters"

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 "jframe setsize method in java swing parameters"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language