What do you know about Java? This is a quiz on Java Swing frames. Are you ready for this Java: Swing Frames Trivia Quiz. J Frames work as the main window where components like labels, buttons, and text fields get added to create a GUI. Unlike Frame, J Frame contains the option to hide or close the window through the See moreset Default Close Operation(int) method. Let's see how well you know through this quiz. Best of luck to you!
Frm.setVisible( 300, 200 );
Frm.paint( 300, 200 );
Frm.setSize( 200, 300 );
Frm.setSize( 300, 200 );
Rate this question:
Inches
Nits
Dots
Pixels
Rate this question:
Another name for an array or vector.
Any class that is made up of other classes.
A primitive variable that contains the actual data.
An object like a frame that has other GUI components placed inside of it.
Rate this question:
Form, setVisible, setOn
JFrame, setSize, setVisible
Frame, setVisible, setSize
Window, setSize, paint
Rate this question:
Constructor
Layout manager
Parameter
GUI
Rate this question:
True
False
Rate this question:
Import awt.* import swing.*
Import java.awt import javax.swing
Import java.awtx.* import java.swingx.*
Import java.awt.* import javax.swing.*
Rate this question:
A window.
A screen.
A box.
A frame.
Rate this question:
JFrame.EXIT_ON_CLOSE
JFrame.HIDE_ON_CLOSE
JFrame.DISPOSE_ON_CLOSE
JFrame.DO_NOTHING_ON_CLOSE
Rate this question:
Quiz Review Timeline (Updated): Jul 16, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.