13. Graphical user interfaces Flashcards
If A extends B, do instances of A have the properties of those of B, plus more, or vice versa?
ss
When does the main thread end? When does the virtual machine exit?
ss
What does the GUI event thread usually spend most of its time doing?
ss
How does event driven programming differ from the style used in the main method?
ss
What sort of information is held in ActionEvent objects?
ss
What is returned by getSource() method?
ss
What is the purpose of the Container class?
ss
What argument is given to Container: add() method?
ss
How to we specify the constraint in the Container: add() method?
ss
What kind of argument does Container: setLayout() have?
ss
How do we specify the label when we create a JButton?
ss
What type is the parameter in the JButton: addActionListener() method?
ss
What type is the method argument in JButton: setEnabled() method?
ss
What type is the method argument in JButton: setText() method?
ss
What part of a GUI does javax.swing.JFrame correspond to?
ss
Where does the given title typically appear (when using JFrame: setTitle() method)?
ss
What is the return type of the JFrame: getContentPane() method?
ss