Skip to Content
Java How to Program, Early Objects, 11th Edition
book

Java How to Program, Early Objects, 11th Edition

by Paul J. Deitel, Harvey Deitel
June 2017
Beginner
1296 pages
69h 23m
English
Pearson
Content preview from Java How to Program, Early Objects, 11th Edition

Exercises

  1. 26.4 Fill in the blanks in each of the following statements:

    1. The JTextField class directly extends class __________.

    2. Container method __________ attaches a GUI component to a container.

    3. Method __________ is called when a mouse button is released (without moving the mouse).

    4. The __________ class is used to create a group of JRadioButtons.

  2. 26.5 Determine whether each statement is true or false. If false, explain why.

    1. Only one layout manager can be used per Container.

    2. GUI components can be added to a Container in any order in a BorderLayout.

    3. JRadioButtons provide a series of mutually exclusive options (i.e., only one can be true at a time).

    4. Graphics method setFont is used to set the font for text fields.

    5. A JList displays a scrollbar ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17

Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17

Kishori Sharan, Adam L. Davis
Learning Java, 5th Edition

Learning Java, 5th Edition

Marc Loy, Patrick Niemeyer, Daniel Leuck
Java in a Nutshell, 8th Edition

Java in a Nutshell, 8th Edition

Benjamin J. Evans, Jason Clark, David Flanagan

Publisher Resources

ISBN: 9780134751962