
Chapter 1. Making Fish Swim in the Multithreaded Aquarium
This first project is purely for funa working, multithreaded aquarium where the fish actually swim around and bounce off the walls. We're going to create a dozen fish objects and turn them loose in the aquarium, where they're going to do their own thing as you'd expect fish to do.
Chapter 2. Slapshot! The Interactive Hockey Game
This chapter is on Slapshot!, an interactive hockey game, where you actually have to do something active, or you'll lose. The code developed in Chapter 1 is going to be leveraged for this chapter, because Slapshot! uses hockey puck sprites, much like the fish in the aquariumonly the pucks move faster.
Chapter 3. The Graphicizer Image-Editing and Conversion Tool
The Graphicizer is a very cool image-handling tool that lets you load in images, manipulate them, and save them back to disk. It'll convert image formats tooyou can use the Graphicizer to load in JPEG, PNG, or GIF images and then store them in either JPEG or PNG format.
Chapter 4. Creating Stunning Graphics with Painter
This application lets you go wild drawing your own images: You can draw ellipses, rectangles, lines, or rounded rectanglesin fact, you can even draw freehand with the mouse.
Chapter 5. Chatting on the Internet with the Chat Room
This project, Chat, is your own private chat room, and it'll keep you in touch with whomever you want to stay in touch withall you need is Internet access and a Java-enabled web server.
Chapter 6. Who's There? Logging Access to Your Website with WebLogger
WebLogger lets you log information about the people who come to a website, without their knowledge. Unless you tell them, they have no way of knowing that they've been tracked as you log their time of access, where on your site they went, what their username is, what their IP address is, how long they worked with the web page they accessed, and what type of browser they have.
Chapter 7. Running Any Program Via Remote Control with the Robot
The Robot lets you run other programs by remote control, no matter what kind of programs they are. Using the Robot, you can control another program by sending keystrokes and mouse actions to it. You can even capture the screen when in the middle of some operation so you have a visual record of what happened.
Chapter 8. Creating a Custom Web Browser in Java: The Browser Project
Just download the Standard Widget Toolkit (SWT), which you can get for free with the Eclipse Java Integrated Development Environment (a superb tool in its own right). Using the SWT, you can create a browser control easily, and it'll give you many of the full features available in a browser in your Java programs.
Chapter 9. Typing Across the Internet: The Intercom Project
Using the Intercom, you can communicate between two machines anywhere in the worldjust type your text, which will appear in the other person's intercom, and his or her reply text will appear in your window.
Chapter 10. Getting a Graphical Weather Forecast: The Forecaster Project
This chapter starts by creating the Forecaster JSP, complete with the technology to create JPEG images online and send them back to the browser. After creating the JSP (forecast.jsp), you'll continue by creating the standalone Java application, Forecast.java, in case you want to use that application instead of the online JSP page.
Download:
Link_1



0 comments:
Posting Komentar