ebook img

Java after hours: 10 projects you'll never do at work PDF

736 Pages·2005·5.11 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Java after hours: 10 projects you'll never do at work

Java™ After Hours: 10 Projects You'll Never Do at Work By Steven Holzner ............................................... Publisher: Sams Publishing Pub Date: June 08, 2005 ISBN: 0-672-32747-3 Pages: 336 Table of Contents | Index Take your Java programming skills beyond the ordinary. Java After Hours: 10 Projects You'll Never Do at Work will make Java your playground with ten detailed projects that will have you exploring the various fields that Java offers to build exciting new programs. You'll learn to: Create graphics interactively on Web servers Send images to Web browsers Tinker with Java's Swing package to make it do seemingly impossible things Search websites and send e-mail from Java programs Use multithreading, Ant and more! Increase your Java arsenal by taking control of Java and explore its possibilities with Java After Hours. Java™ After Hours: 10 Projects You'll Never Do at Work By Steven Holzner ............................................... Publisher: Sams Publishing Pub Date: June 08, 2005 ISBN: 0-672-32747-3 Pages: 336 Table of Contents | Index Copyright About the Author Acknowledgments We Want to Hear from You! Introduction Why Is This Book Unique? Who Is This Book For? About the Book's Code Conventions Used in This Book Chapter 1. Making Fish Swim in the Multithreaded Aquarium Building the Aquarium Loading the Fish Moving Those Fish Double-Buffering the Drawing Creating the Fish Making the Fish Swim Drawing the Fish Conclusion Chapter 2. Slapshot! The Interactive Hockey Game Creating the Rink Starting a Game Moving Those Pucks Getting the Pucks to Bounce Off Each Other How the Computer Blocks Pucks How the User Blocks Pucks Setting the Speed Creating the Pucks Conclusion Chapter 3. The Graphicizer Image-Editing and Conversion Tool Creating the Graphicizer Window Opening an Image File Painting the Image Saving an Image File Embossing an Image Sharpening an Image Brightening an Image Blurring an Image Reducing an Image Undoing a Change Conclusion Chapter 4. Creating Stunning Graphics with Painter Creating the Painter Window Handling Menu Selections Handling the Mouse Drawing Some Graphics Drawing Lines Drawing Ellipses Drawing Rectangles Drawing Rounded Rectangles Drawing Freehand Drawing Text Drawing the Final Image Setting Colors Conclusion Chapter 5. Chatting on the Internet with the Chat Room Creating the Chat HTML Page Creating JSP Pages Getting the Tomcat Web Server Using Some Java in JSP Reading Data from HTML Controls in JSP Using Request Objects Using the Session and Application Objects Creating a Hit Counter Using Sessions Creating a Hit Counter Using Applications Displaying the Current User Comments Storing New Comments Conclusion Chapter 6. Who's There? Logging Access to Your Website with WebLogger All About Filters Creating a Simple Filter Restricting Access Based on Time of Day Restricting Access Based on Password Creating WebLogger Conclusion Chapter 7. Running Any Program Via Remote Control with the Robot Running the Robot Creating the Robot's Window Reading the Robot's Commands Executing Commands Making the Robot Reappear Conclusion Chapter 8. Creating a Custom Web Browser in Java: The Browser Project Introducing the SWT Getting the SWT Creating an SWT Application Working with SWT Events Using SWT Toolbars Creating the Browser Project Conclusion Chapter 9. Typing Across the Internet: The Intercom Project Using the Intercom Creating Intercom 1 Creating Intercom 2 Conclusion Chapter 10. Getting a Graphical Weather Forecast: The Forecaster Project Creating the Forecaster JSP Creating the Desktop Version Conclusion Index Copyright Copyright © 2006 by Sams Publishing All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions. Nor is any liability assumed for damages resulting from the use of the information contained herein. Library of Congress Catalog Card Number: 2005901842 Printed in the United States of America First Printing: June 2005 08 07 06 05 4 3 2 1 Trademarks All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Sams Publishing cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark. Warning and Disclaimer Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an "as is" basis. Bulk Sales Sams Publishing offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales. For more information, please contact U.S. Corporate and Government Sales 1-800-382-3419 [email protected] For sales outside of the U.S., please contact International Sales [email protected] Credits Acquisitions Editor Loretta Yates Development Editor Songlin Qiu Managing Editor Charlotte Clapp Project Editor George E. Nedeff Copy Editor

Description:
Take your Java programming skills beyond the ordinary. Java After Hours: 10 Projects You'll Never Do at Work will make Java your playground with ten detailed projects that will have you exploring the various fields that Java offers to build exciting new programs. You'll learn to: Create graphics int
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.