-
What class is the top of the AWT event hierarchy?
A) java.awt.AWTEventB) java.awt.EventC) java.util.eventObjectD) javax.swing.ObjectExplanation: The java.awt.AWTEvent class is the highest-level class in the AWT event class hierarchy.
-
Fill in the blanks :- The meaning of ‘x’ in javax.swing is _______________
A) Extension of java
-
What are the features coming with JFC?. (Select Multiple)
A) Pluggable Look-and-FeelB) Accessibility APIC) Java 2D/API(JDK 1.2).D) Drag and Drop Support(JDK 1.2)
-
What is the difference between scrollbar and scrollpane(Select Multiple)
A) Scrollbar is a component while scrollpane is a containerB) Scrollbar handles its own events while scrollpane does notC) Scrollpane handles its own events and performs its own scrolling.D) All of the above.
-
Using a FlowLayout Manager, which of the following is the correct way to add elements to a container. (Select Multiple)
A) add(component);B) set(component);C) add(x,y, component);D) add(“Center”,component);
-
Which containers use border layout as their default layout ? (Select Multiple)
A) PanelB) DialogC) FrameD) Window
-
What are the restrictions imposed by the security manager on applets. (Select Multiple)
A) Cannot start any program on the host that is executing it.B) Cannot read some system properties.C) Cannot load libraries or define native methods.D) Cannot read or write files on the host that is executing it.
-
Fill in the blank :- the default look and feel of a swing component is _____________
A) Java Look and Feel
-
The types of popups in swing are 1. Lightweight Popup2. Heavyweight popup3. Medium weight popup
A) 1, 2B) 2, 3C) 1, 3D) 1, 2, 3
-
The three most common z-order related problems have to do with Swings following componants. (Select Multiple)
A) JScrollPane.B) JInternalFrameC) JInternalFrame popup componants.D) JPanel.
-
All swing components are light weight componants except for (Select Multiple)
A) JWindow, JFrameB) JDialogC) JAppletD) JPanel
-