Herb Schildt's Java Programming Cookbook

1st Edition
0071596445 · 9780071596442
Your Ultimate "How-To" Guide to Java Programming! Legendary programming author Herb Schildt shares some of his favorite programming techniques in this high-powered Java "cookbook." Organized for quick reference, each recipe shows how to accomplish a … Read More
US$45.00
Request Review Copy
Download file to PC or Mac desktops or laptops

Step 1. Download Adobe Digital Editions Both PC and Mac users will need to download Adobe Digital Editions to access their eBook. You can download Adobe Digital Editions at Adobe's website here.


Step 2. Register an Adobe ID if you do not already have one. (This step is optional, but allows you to open the file on multiple devices) Visit account.Adobe.com to register your Adobe account.


Step 3: Authorize Adobe Digital Editions using your Adobe ID. In Adobe Digital Editions, go to the Help menu. Choose “Authorize Computer.”


Step 4: Open your file with Adobe Digital Editions. Once you’ve linked your Adobe Digital Editions with your Adobe ID, you should be able to access your eBook on any device which supports Adobe Digital Editions and is authorized with your ID. If your eBook does not open in Adobe Digital Editions upon download, please contact customer service

Chapter 1. Overview
Chapter 2. Working with Strings and Regular Expressions
Chapter 3. File Handling
Chapter 4. Formatting Data
Chapter 5. Working with Collections
Chapter 6. Applets and Servlets
Chapter 7. Multithreading
Chapter 8. Swing
Chapter 9. Potpourri
Index
Your Ultimate "How-To" Guide to Java Programming!

Legendary programming author Herb Schildt shares some of his favorite programming techniques in this high-powered Java "cookbook." Organized for quick reference, each recipe shows how to accomplish a practical programming task. A recipe begins with a list of key ingredients (the classes, methods, and interfaces) followed by step-by-step instructions that show how to assemble them into a complete solution. Detailed discussions explain the how and why behind each step, and a full code example puts the recipe into action. Each recipe ends with a list of options and alternatives that suggest ways to adapt the technique to fit a variety of situations. Whether you're a beginner or an experienced pro, you'll find recipes that are sure to satisfy your Java programming appetite!

Topics include:

  • String Handling
  • Regular Expressions
  • File Handling
  • Applets
  • Servlets
  • Swing
  • The Collections Framework
  • Multithreading
  • Formatting Data

Learn how to:

  • Find substrings that match a regular expression
  • Use regular expressions to tokenize a string
  • Compress and decompress data files
  • Create a ZIP file
  • Format time and date
  • Use printf( ) to display formatted data
  • Reverse, rotate, and shuffle a list
  • Use a Comparator with a collection
  • Create a simple Swing application
  • Create a Swing-based applet
  • Create a simple servlet
  • Use a cookie with a servlet
  • Synchronize threads
  • Monitor a thread's state
  • Set and obtain a thread's priority
  • Use JScrollPane to automate scrolling
  • Access a resource using HttpURLConnection
  • Schedule a task for future execution
  • Use reflection to dynamically create an object and call methods
  • Much, much more