Java Swing and AWT Development

Test your knowledge of Java GUI development using Swing and AWT frameworks, including components, accessibility, and user interface APIs

14 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following allows users to implement droppable elements that transfer information between java applications and native applications?

  1. 2D API
  2. DnD API
  3. javax.swing.colorchooser
  4. javax.swing.filechooser
  5. InetAddress class
Question 2 Multiple Choice (Single Answer)

Which of the following provides a rich set of user interface components including graphics and imaging tools, layout managers for flexible window layouts and data transfer classes for cut and paste, through the native platform clipboard?

  1. 2D API
  2. javax.swing.colorchooser
  3. javax.swing.text.html
  4. JSlider
  5. Abstract window toolkit
Question 3 Multiple Choice (Single Answer)

In which of the following packages are the text classes among the more advance swing classes for the implementation of text applications?

  1. javax.swing.text
  2. javax.swing.text.html
  3. javax.swing.text.html.parser
  4. javax.swing.filechooser
  5. JTextPane
Question 4 Multiple Choice (Single Answer)

In which of the following packages does assistive technologies cover a broad range of items, from audible text readers to screen magnification?

  1. javax.swing.text.html
  2. javax.swing.text.rtf
  3. javax.accessibility
  4. 2D API
  5. DatagramSocket class
Question 5 Multiple Choice (Single Answer)

Which of the following can be used in conjunction with devices such as audible text readers or braille keyboards to allow direct access to the swing components?

  1. Accessibility tools
  2. 2D API
  3. javax.swing.filechooser
  4. JProgressBar
  5. ContentHandler class
Question 6 Multiple Choice (Single Answer)

Which of the following is an application development framework that is designed for and used with the popular J2EE platform?

  1. Java strut
  2. Java swing
  3. Java applet
  4. DatagramPacket class
  5. DebuggerCallback Interface
Question 7 Multiple Choice (Single Answer)

In which of the following packages are its various subpackages devoted to rendering the individual L&Fs for each component on a platform by platform basis?

  1. javax.swing.tree
  2. javax.swing.text.html.parser
  3. javax.swing.plaf
  4. Jslider
  5. getInputStream()
Question 8 Multiple Choice (Single Answer)

Which of the following classes represents Swing applets and hierarchically extends the AWT applet?

  1. Applet
  2. Swing
  3. JTree
  4. JApplet
  5. Jslider
Question 9 Multiple Choice (Single Answer)

In which of the following packages can you manipulate how relations are viewed and selected as well as how they display their information in each cell?

  1. javax.swing.tree
  2. javax.swing.text.rtf
  3. javax.swing.text.html.parser
  4. javax.swing.undo
  5. javax.swing.table
Question 10 Multiple Choice (Single Answer)

Which of the following ORB is a popular application server with an ORB from IBM?

  1. Websphere
  2. OrbixWeb
  3. The java 2 ORB
  4. Java applet
  5. StockHolder.java
Question 11 Multiple Choice (Single Answer)

Which of the following classes can posses an icon as well as text with suitable positioning?

  1. JTextArea
  2. JSlider
  3. javax.swing.text.rtf
  4. JButton
  5. DebuggerCallback interface
Question 12 Multiple Choice (Single Answer)

Which of the following is the ORB that is embedded in the Netscape communicator browser?

  1. Java 2 ORB
  2. OrbixWeb
  3. VisiBroker for java
  4. Event
  5. Portable object adapter
Question 13 Multiple Choice (Single Answer)

By which of the following panes can you position components on each layer of the layered pane?

  1. JScrollPane
  2. JSplitPane
  3. JLayeredPane
  4. javax.swing.text.html.parser
  5. DatagramPacket class
Question 14 Multiple Choice (Single Answer)

Which of the following classes serves as a graphics editor for text as well as pictures?

  1. JTextArea
  2. JTextPane
  3. JTable
  4. javax.swing.tree
  5. StackFrame class