Java Software Solutions: Foundations of Program DesignThis book takes an object-oriented approach to Java using it in a way that is appropriate for those just learning to write high-quality programs. The book features both text-based and GUI-based examples to demonstrate computing concepts and provide readers with maximum versatility. This title has an early evolution of object concepts, developed in a way that capitalizes on the power of objects without overwhelming beginning programmers. It places less empahsis on applets and more emphasis on GUI-based applications, while still maintaining a clean division between graphical and non-graphical topics. This book is appropriate for beginning programmers who want to learn to program with Java as well as experienced programmers who want to add Java to their skill-set. |
From inside the book
Results 1-3 of 80
Page 185
... represented by its own object . The main method instantiates a SplatPanel object and adds it to the frame . The SplatPanel class is shown in Listing 4.8 . Like the SmilingFacePanel class in the previous example , the Splat Panel class ...
... represented by its own object . The main method instantiates a SplatPanel object and adds it to the frame . The SplatPanel class is shown in Listing 4.8 . Like the SmilingFacePanel class in the previous example , the Splat Panel class ...
Page 258
... shown in Listing 5.15 draws a target . The drawing actually occurs in the BullseyePanel class , shown in Listing 5.16 . The paintComponent of the BullseyePanel class uses an if statement to alternate the colors between black and white ...
... shown in Listing 5.15 draws a target . The drawing actually occurs in the BullseyePanel class , shown in Listing 5.16 . The paintComponent of the BullseyePanel class uses an if statement to alternate the colors between black and white ...
Page 486
... shown in Figure 9.1 . The classes in it represent various types of employees ... Listing 9.1 contains a main driver that creates a Staff of employees and ... shown in Listing 9.2 maintains an array of objects that rep- resent individual ...
... shown in Figure 9.1 . The classes in it represent various types of employees ... Listing 9.1 contains a main driver that creates a Staff of employees and ... shown in Listing 9.2 maintains an array of objects that rep- resent individual ...
Other editions - View all
Java Software Solutions: Foundations of Program Design John Lewis,William Loftus No preview available - 2006 |
Java Software Solutions: Foundations of Program Design John Lewis,William Loftus No preview available - 2006 |
Common terms and phrases
allows the user applet args array ArrayList binary bits bitwise operators boolean button byte Chapter color components constructor containment hierarchy contains created data structure declared defined Design and implement digits disk displayed drawing enumerated type event example executed Expression Figure floating point graphical user interface hexadecimal hierarchy inheritance input insertion sort instantiated integer invoked Java Development Kit Java program Java reserved word javadoc Key Concept label layout manager Lewis/Loftus linked list listener loop main memory main method method called modifier mouse myCodeMate node num2 number system object-oriented operands operator output package panel parameter particular polymorphic println prints programming language public class public static void public void recursion reference represents Scanner selection sort shown in Listing specified stack standard class library statement static void main stored String object System.out.println toString Unicode variable void main String