Java Jframe Example

[Solved] Java Jframe Example | Java - Code Explorer | yomemimo.com
Question : java jframe example

Answered by : ayaan-rao

import javax.swing.JFrame;
JFrame frame = new JFrame(); // creates jframe, sets it as "frame"
frame.setVisible(true) // Visibility boolean value, true or false, to hide the JFrame, set it to false

Source : | Last Update : Thu, 30 Jun 22

Question : jframe in java

Answered by : guy2

class class123{
public static void main(String[] args){ Jframe name-of-frmae =new Jframe; frame.setsize(x,y); frame.setdefaultcloseoperation(jframe.exit_on_close); frame.setvisble(true);
}
}

Source : | Last Update : Sat, 07 May 22

Answers related to java jframe example

Code Explorer Popular Question For Java