Component and container classes - A component is a graphical object. A few examples of components are: Button, Canvas, Checkbox...
|
Purpose of invalidate and validate methods - The invalidate method is called as a side efftect of an addition or deleting some component...
|
What are AWT peers? - A Component is associated with a standard AWT button object, a peer object (hidden button object internal to the native GUI)...
|
Explain how to create a borderless window public static void main(String[]args)....
|
Usage of FileDialog object - class FileDialog extends from Dialog class. It is used to display a dialog window from which the user can select a file...
|
Purposes of component’s requestFocus method - The purpose of the requestFocus() is to get the focus on the particular component and also on the window...
|
Method of the Component class - The methods are: setMaximumSize(Dimension maximumSize) : Sets the maximum size of this component to a constant value...
|
What interface is extended by AWT event listeners? - The java.util.EventListener interface is extended by all the AWT event listeners...
|