SWING
OOP
METHODS
100
This method is used to make the frame show up
What is setVisible();
100
A _____ is the blueprint from which individual objects are created.
What is a class
100
This means that the method has no return value... If the method returned an int you would write int instead of this.
What is "void"
200
This is a base window on which other components rely, such as menu bar, panels, labels, text fields, buttons, etc. Almost every Swing application starts with this.
What is a JFrame
200
This word means to create an object, which is a concrete instance of the class.
What is instantiate
200
This is the technical term for the value(s) between the parenthesis of your method headers.
What is(are) parameter(s)
300
This class processes the Mouse Events and has to be implemented by your program if you want to respond to mouse events
What is MouseListener
300
An object cannot be created in Java without this key word.
What is "new"
300
You call this “method” by using the keyword “new”, followed by the name of the class, followed by any necessary parameters. Its purpose is to prepare a new object for use..
What is a constructor
400
After this class is implemented by a program, when an action event occurs, the actionPerformed method is invoked
What is ActionListener
400
This key word makes a class visible to the world.
What is "public"
400
These two methods are used to retrieve and manipulate variables in a different class. One retrieves the attribute and the other allows you to change the value of the attribute.
What are getters and setters
M
e
n
u