Essential Java 2 fast: How to develop applications and applets with Java 2 by John CowellEssential Java 2 fast: How to develop applications and applets with Java 2 by John Cowell

Essential Java 2 fast: How to develop applications and applets with Java 2

byJohn Cowell

Paperback | February 15, 1999

Pricing and Purchase Info

$91.16 online 
$137.95 list price save 33%
Earn 456 plum® points

Prices and offers may vary in store

Quantity:

In stock online

Ships free on orders over $25

Not available in stores

about

If you are a new programmer or a Java programmer moving to Java 2 then this is the book for you! It offers: a complete introduction to Java 2; describes the language and many of its class libraries; shows how they are used; describes the key concepts of object orientation with lots of examples of how to apply the theory. This book will show you how to take advantage of Java 2's new features (such as the abstract windowing toolkit and the Swing classes) for creating graphical user interfaces. John Cowell explains how to use Swing components to change the look and feel of your Java applications so that they look like Windows, Mac or Motif applications. Sun Microsystems Java 2 (formerly called the Java Development Kit 1.2 - JDK 1.2) is a major step forward in the growth of Java into a powerful mature language for writing both applications and applets. Topics covered in this book include: the Java language; the abstract windowing toolkit; the new Java Swing components; handling component, keyboard and mouse events; polymorphism and inheritance; animation and multithreading; handling exceptions; using files. Essential Java 2 - fast is designed for professional developers or students who need to learn the maximum in the minimum time. You'll develop applications and applets fast, learning everything you need to write Java applications and applets quickly with Java.
Title:Essential Java 2 fast: How to develop applications and applets with Java 2Format:PaperbackDimensions:246 pagesPublished:February 15, 1999Publisher:Springer-Verlag/Sci-Tech/TradeLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:1852330716

ISBN - 13:9781852330712

Look for similar items by category:

Reviews

Rated 5 out of 5 by from Great source of Java 2 Excellent book for beginner programmers who want to learn Java. Each chapter's information is easy to follow with plenty of examples. I'm very glad I picked it up.
Date published: 2001-03-08

Table of Contents

Why Java 2 is Special.- Introduction.- Is this book for you?- What you need to run Java 2.- How to use this book.- An object oriented approach.- Conventions.- An Object Oriented Application.- Introduction.- A first application.- What can go wrong?- How does the application work?- Classes and objects.- The main method.- What's new.- Running the application.- Using classes and objects.- Naming conventions.- The Java Language.- Introduction.- Applications and applets.- Comments.- Data types.- The integer data types.- The floating point data types.- The boolean data type.- The char data type.- The string data type.- Names in Java.- Declaring data.- Arithmetic in Java.- Assigning number variables.- Casting.- Assignment operators.- Using strings in Java.- Operator precedence.- Displaying information on the screen.- Branching and Looping.- Introduction.- If...else statements.- Logical operators.- Switch statements.- Block statements.- Looping.- For loops.- While loops.- Do...while loops.- The break statement.- Arrays.- Creating and Using Classes and Objects.- Introduction.- The account class.- The Display Details method.- The In Credit method.- The credit and debit method.- The main method.- Using constructors.- Encapsulating data.- Calling methods.- Command line arguments for applications.- Using Applets.- Introduction.- Writing applets.- The applet tag.- Key methods of the applet class.- The init method.- The start method.- The stop method.- The destroy method.- The paint method.- Command line arguments for applets.- The Graphics, Color and Font Classes.- Introduction.- The co-ordinate frame.- Importing classes.- The graphics class.- Drawing lines.- Drawing rectangles.- Drawing circles and ovals.- Drawing arcs.- Drawing polygons.- The colour class.- Creating colours.- Displaying text and changing fonts.- Displaying images.- Inheritance and Polymorphism.- A hierarchy of computer components.- Defining the Memory subclass.- Polymorphism.- The Mboard class.- Extending a subclass.- Class and instance variables.- Static methods.- Overloading methods.- Access control.- Interfaces.- Mouse and Keyboard events.- Introduction.- The Mouse Event class.- The Mouse Listener interface.- Which button was pressed?- The Mouse Adapter class.- The Mouse Motion Listener interface.- The Key Event class.- The Key Adapter class.- The Key Listener interface.- The AWT Components.- Introduction.- Event driven programming.- The awt classes.- The button class.- Handling events.- The label class.- The scrollbar class.- Handling scrollbar events.- The checkbox class.- The list class.- Multiple selection in list objects.- The Text Component class.- The Text Area class.- Using the Text Listener interface.- The Text Field class.- The Canvas class.- The Layout Managers.- Introduction.- The Flow Layout class.- The Border Layout class.- The Card Layout class.- The Grid Layout class.- The Grid Bag Layout class.- Windows, Dialogs and Menus.- Introduction.- The Container class.- The Frame class.- Creating an application which uses a frame.- The Window Listener interface.- Creating an applet which uses a frame.- The Menu Bar class.- The Dialog class.- The File Dialog class.- The Panel class.- The Swing Components.- Introduction.- Differences between Swing and awt.- The Swing components.- The Swing container classes.- The Abstract Button class.- The Swing and awt buttons.- Changing the look and feel.- The J Button class.- The J Toggle Button, J Radio Button and J Check Box classes.- Displaying text.- The J Label class.- The J Text Field class.- The J Text Area class.- The J List class.- The J Color Chooser class.- The J File Chooser class.- Java Exceptions.- Introduction.- The Exception class.- The try and catch clauses.- Throwing an exception.- Creating new exceptions.- Throwing without catching.- Writing Threaded Applications.- Introduction.- Pre-emptive scheduling.- The Runnable interface.- The Thread class.- Synchronizing threads.- The Thread class.- Creating animation.

From Our Editors

Readers won’t need to reach for the caffeine to make it through this updated edition. Cutting right to the chase, it quickly teaches readers how to create Java programs as well as easily master JDK 1.2’s new Abstract Windowing Toolkit, JavaBeans, Java Database Connectivity and other enhancements. Written in a no-nonsense style, The Essential Java Fast caters to software developers, programmers and Web site administrators.