
CompProg2 CP5&6
Quiz by Maria Lolita Masangcap
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
Which java package is used to create GUI application programs in Java?
Which of the following is not a swing GUI component?
Which of the following Swing GUI component is not available in AWT?
Which of the following layouts would be appropriate for a graphical user interface that looks like a computer keyboard?
In creating a class that inherits the characteristics of a JFrame, which of the following keyword must be used?
It is an object that waits for an event to occur in event handling.
It is an action that occurs whenever the user interacts with the components on the screen.
Which of the following statements is NOT needed to run a Java Swing program?
Which of the following methods is used to retrieve the text that the user has entered into a JTextField?
Which of the following methods is used to make JFrame visible on the screen?
Which method can be called to any component to change the color of its text?
What do you call a component that creates an icon-sized image from an image residing at a source URL?
It is the object of this class that is used to display a pull-down menu component which is displayed from the menu bar.
This contains the list of items that will be displayed in the pull-down menu component.
A swing component that popped up at a specific position within a component
Which of the following methods is used in the actionPerformed method to determine which button was clicked?
Which of the following is not a method of JOptionPane class?
What method in JOptionPane is used to display the dialog box shown in the image?

What method in JTable is used to insert a new record to the existing table when a button is clicked?
Which of the following statements below is used to clear the content of a text field?