The Java Class Libraries: An Annotated Reference, Volume 1This example-driven, annotated reference guide to the Java class libraries from two leading Java developers is an essential resource for both beginner and experienced Java programmers. You will find complete and detailed coverage of all the class libraries, including the Core Packages (java.io, java net, java.util, and java.lang) as well as the Window Toolkit and Applet packages (java.awt, java.awt.image, java.awt.peer, and java.applet), including more than 600 examples and more than 20,000 lines of code. The book has been specifically designed to make it possible to find information on any class or member quickly and easily. Each class description includes a class hierarchy diagram showing its connection to related classes, a detailed overview describing its purpose and key concepts, a convenient member summary which briefly describes each member and arranges the members into related groups, an example demonstrating the class in a "real-world" context, and comprehensive descriptions and examples for each of its members. |
From inside the book
Results 1-3 of 70
Page 190
... selected , called the selected item . The selected item can be changed by either the program or the user . Events A choice generates an action event whenever the user selects an item . Even if the selected item is reselected , an action ...
... selected , called the selected item . The selected item can be changed by either the program or the user . Events A choice generates an action event whenever the user selects an item . Even if the selected item is reselected , an action ...
Page 344
... ( selected ) ; selected.move ( x , y ) ; repaintRect ( selected ) ; return true ; public boolean mouseDrag ( Event evt , int x , int y ) { Example B C D E } F G H } I J K L Σ repaintRect ( selected ) ; selected.width = Math.max ( 0 , x ...
... ( selected ) ; selected.move ( x , y ) ; repaintRect ( selected ) ; return true ; public boolean mouseDrag ( Event evt , int x , int y ) { Example B C D E } F G H } I J K L Σ repaintRect ( selected ) ; selected.width = Math.max ( 0 , x ...
Page 885
... selected item . Retrieves the list's selected item . Retrieves the list's selected items . Determines whether an item is selected . Selects an item in the list . Sets the list's selection mode . Calculates the minimum dimensions of the ...
... selected item . Retrieves the list's selected item . Retrieves the list's selected items . Determines whether an item is selected . Selects an item in the list . Sets the list's selection mode . Calculates the minimum dimensions of the ...
Other editions - View all
Common terms and phrases
applet args bit array BitSet buffer button byte array checkbox class example class Main extends ClassLoader color model component component's container container's default DESCRIPTION This method dialog dimensions double end-of-file F G H false otherwise file descriptor font graphics context Graphics g gridbag GridBagConstraints GridBagLayout hash code hash table image consumer image producer implements import java.awt input stream insets instance Integer interface Java java.lang label layout manager loaded Main extends Frame menu bar menu item method returns non-null null number of bytes object output stream OVERRIDES peer pixel value public class public int public static final public static void public synchronized void public void main(String PURPOSE SYNTAX DESCRIPTION radix rectangle repaint resizable return false return true Scrollbar specified static final int static public void string representation SYNTAX DESCRIPTION PARAMETERS SYNTAX public throws IOException toString Unicode W X Y width y-coordinate