Java Final 2

Card Set Information

Author:
gianni11
ID:
218695
Filename:
Java Final 2
Updated:
2013-05-10 04:02:44
Tags:
Java final
Folders:

Description:
Java final 2
Show Answers:

Home > Flashcards > Print Preview

The flashcards below were created by user gianni11 on FreezingBlue Flashcards. What would you like to do?


  1. Programs that operate in a GUI environment must be ___________. An event is an ______________
    event-driven

    action that takes place within a program
  2. An event listener is an object that _____________
    automatically executes one of its methods when a specific event occurs.
  3. The Swing classes are part of the ________ package.
    javax.swing
  4. A __________ is simply a component that holds other components.
    container
  5. a container that can be displayed as a window is known as a ___________.
    frame
  6. the general formats of two JRadioButton constructors:
    JRadioButton(String text)

    JRadioButton(String text, boolean selected)
  7. How do you create a ButtonGroup object?
    ButtonGroup group = new ButtonGroup();
  8. How do you Add the radio buttons to the ButtonGroup object?
    group.add(radio1);
  9. How do you determine whether a Radio Button Is Selected
    if (radio.isSelected()) {  

    }
  10. When implementing the ItemListener interface, your code must have what import statement?
    import java.awt.event.*;

What would you like to do?

Home > Flashcards > Print Preview