Flylib.com
Java Garage
Java Garage
ISBN: 0321246233
EAN: 2147483647
Year: 2006
Pages: 228
Authors:
Eben Hewitt
BUY ON AMAZON
JAVA GARAGE
JAVA GARAGE
Copyright
ACKNOWLEDGMENTS
ABOUT THE AUTHOR
Eben Hewitt
Chapter 1. WHAT IS THE JAVA GARAGE
Chapter 2. JAVA BUZZ
Chapter 3. JAVA EDITIONS AND PLATFORMS
Chapter 4. COMPILING AND RUNNING JAVA APPLICATIONS
Installing the SDK
Compiling Source Code
Compiling into a Directory Other Than Your Source Directory
Running Programs
Setting the Classpath
Setting the Classpath at Compile Time
Setting the Path
Chapter 5. WHERE TO WRITE CODE
Integrated Development Environments
Chapter 6. PRIMITIVE TYPES
About Java Primitives
Integer Types
Real Numbers
Characters
Logical Representations
Chapter 7. OPERATORS
Operator Precedence
Arithmetic Operators
Incrementing and Decrementing Operators
Relational Operators
Conditional Operators
Ternary Operator
Binary Numbers and Logical Operators
Shift Operators
Chapter 8. CONTROL STATEMENTS
IfElse
Chapter 9. CLASSES
What Is a Class?
Chapter 10. FRIDGE: MMM-MMM LAMB CHOPS AND A MANHATTAN
Chapter 11. CLASSES RELOADED
Using External Code in Your Programs: import
Constructing Objects
Using Enums
Methods Allow Variable-Length Parameter Lists
Wrapper Classes
Autoboxing
The Class Named Class
Chapter 12. INHERITANCE
PsychoMan PsychoMan PsychoMan
Getting Your Inheritance
Chapter 13. STRINGS
Creating String Objects
String References and Immutability
Doing Stuff with Strings
Character Data Encoding
Useful String Methods
Better Efficiency with StringBuffers
Chapter 14. ARRAYS
Creating Arrays
Using Arrays
Using Stacks
ArrayLists and toArray
Chapter 15. DOCUMENTING YOUR CODE WITH JAVADOC
Writing Javadoc Comments
Using Javadoc Tags
Using the Javadoc Tool
Changing Javadoc Styles
Generating Javadoc in Eclipse
Generating Javadoc with Ant
Chapter 16. ABSTRACT CLASSES
Dude, Where s My Implementation?
What Is an Abstract Class?
Using Exceptions with Abstract Classes
Using an Abstract Class Polymorphically
Chapter 17. INTERFACES
Let s Get One Thing Straight
Some Reasons Why Interfaces Are Very Cool
How to Write an Interface
Interfaces Versus Abstract Classes
Constants
Interface Inheritance
Implementing Interfaces
Chapter 18. CASTING AND TYPE CONVERSIONS
Casting
Casting Between Primitives and Wrappers
Casting with Reference Types
Chapter 19. INNER CLASSES
Regular Inner Classes
Using Method Local Inner Classes
Using Anonymous Inner Classes
Static Inner Class
Chapter 20. BLOG: INNER CLASSES AND EVENT HANDLERS
Chapter 21. HANDLING EXCEPTIONS
Exceptions
What an Exception Is
Dealing with Exceptions
Built-in Exceptions
Throwing Exceptions
Catching Exceptions
Using Finally
Different Ways of Handling Exceptions
Wrapping an Exception
Toolkit: A Custom Exception
Exceptions and Inheritance
Exception Handling Pretty Good Practices
Chapter 22. FILE INPUTOUTPUT
Files and Directories
Files
File IO: Reading and Writing Stream Data
Readers and Writers
Chapter 23. FRIDGE: GUACAMOLE
Chapter 24. USING REGULAR EXPRESSIONS
Purpose of Regex
Chapter 25. CREATING GUIS WITH SWING
Anatomy of a Swing App: Stuff You Typically Need to Do in Swing
Adding User Controls
User Controls.stepInto()
Spacing and Aligning Components
JEditorPane
JTabbedPane
LayoutManagers Overview
Switch (LAYOUT_MANAGERS)
Handling Action Events
Creating Menus
A Note About Mixing Swing and AWT Components
Chapter 26. BLOG ENTRY: SOFTWARE DEVELOPMENT BLACK MARKET
Chapter 27. DATES AND TIMES
Dates
Time
Chapter 28. USING TIMER TASKS
Using TimerTask to Do Stuff at Intervals
Stopping a Timer Thread
Creating a Timer for a Swing GUI Application
Chapter 29. APPLETS
Not-Applet Technologies
Applet Basics
Differences Between Extending JApplet and Applet
Writing an Applet
A Few Applet Tricks
Chapter 30. FRIDGE: BIG DADDY FLAPJACKS
Chapter 31. USING SYSTEM AND RUNTIME
Using the System
Forcing the Garbage Collector to Run
Suggesting Kindly That the Garbage Collector Run
Executing an External Application in Java
Interacting with the User
Toolkit: A Simple Calculator
Determine Number of Processors on the Current Machine
Determine When Your Application Is About to Exit
System Properties
Chapter 32. USING THE JAVA DEVELOPMENT TOOLS
Using Common SDK Tools
Discovering Other SDK Tools
Chapter 33. FAQ
Setting the CLASSPATH
Setting JAVA_HOME in Windows
Setting the PATH in Windows
Checking Current Java Version
Compiling and Running Programs
Primitive Data Types
Declaring and Initializing Variables
Class Definition
Package Declaration
Import Declaration
Inheritance
Defining and Implementing an Interface
Exceptions
Working with JAR Files
What Is the Java Virtual Machine?
What s In the SDK?
Chapter 34. PACKAGING DEPLOYING JAVA APPLICATIONS
Herding Cats
Creating JAR Files with Eclipse
Creating an Icon for Your Java Application on Windows
Chapter 35. TOOLKIT
A Name Data Class
Credit Card Validator
Application: SimpleTextEditor: Garage Pad
Application: RSS Aggregator
Application: DrawingPad: Garage Doodler
Chapter 36. SYSTEM.EXIT...
JAVA GLOSSARY ON STEROIDS
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
Index
index_SYMBOL
index_A
index_B
index_C
index_D
index_E
index_F
index_G
index_H
index_I
index_J
index_K
index_L
index_M
index_N
index_O
index_P
index_R
index_S
index_T
index_U
Java Garage
ISBN: 0321246233
EAN: 2147483647
Year: 2006
Pages: 228
Authors:
Eben Hewitt
BUY ON AMAZON
Absolute Beginner[ap]s Guide to Project Management
Project Plan Checklist
Next Step in the Schedule Development Process
Variance Responses
Lessons from Project Recoveries
Managing Project Quality
SQL Hacks
Hack 40. Calculate Rank
Online Applications
Hack 43. Add Navigation Features to Web Applications
Hack 73. Mix File and Database Storage
Hack 95. Issue Automatic Updates
MySQL Cookbook
Dividing a Summary into Subgroups
The Effect of ALTER TABLE on Null and Default Value Attributes
Reusing Values at the Top of a Sequence
Finding Rows with No Match in Another Table
A.2. Obtaining MySQL and Related Software
Twisted Network Programming Essentials
Getting Started
Downloading a Web Page
Downloading Messages from an IMAP Mailbox
Services, Processes, and Logging
Logging Events and Errors
Oracle SQL*Plus: The Definitive Guide (Definitive Guides)
Working with PL/SQL
Creating HTML Reports
Types of Output Files
Extracting the Data
Customizing Your SQL*Plus Environment
Visual Studio Tools for Office(c) Using C# with Excel, Word, Outlook, and InfoPath
Events in the Excel Object Model
Working with the Application Object
VSTO Data Programming
Trusting the Document
The Pitfalls of MsCoree.dll
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies