Articles Section Index | Page 2
TeamDev announces JxCapture 3.0 screen capture library featuring Linux x32/x64 support.
Every application fails once in while. Even the ones built with Java, using design patterns, best practices, and a lot of good intentions. So we better prepare our applications for these situations...more
The iText library provides a PdfReader class that reads PDF files and converts them into new PDF documents. This is useful when new pages needs to be added to an existing PDF file or if you need to...more
JMeter version 1.8 needs JDK1.4 (the JMeter mailing list says that the latest development version, the "nightly build", also works on JDK1.3), and if JDK is on your computer, the installation of JM...more
jGuru presents in-depth online courses on Java software development. Each course takes you step-by-step through developing your own software and includes course notes and exercises with sample code.
Once you have followed the previous instructions, we can test your installation by accessing the URL: http://localhost:8080/soap/admin. You will see a default admin page for Apache SOAP coming up. ...more
Well Ok we are now able to move a ball across the applet without any flickering of the screen. This means that we know the two most important steps to program a game with animated objects. In this ...more
I'm sure you recognized in the first applet that the circle is flickering. There is a very simple reason for this. Everytime the paint - method is called by repaint() the applet screen is cleared c...more
Handling key events in applets works very similar to the mouse event handling I talked about in the chapter before. There is one special method for every possible event (key down, key up). You have...more
I think there is no game that doesn't "interact" with the player. In our case, as a programmer, you have two possibilities to allow the player to interact with the computer: the player has to use t...more
The portable document format (PDF) is the most commonly used document format in the industry, mainly due to its simplicity and portability. PDF has become the standard format for generating company...more
In our game, the player has to shoot at two balls, (a red and a blue one), which are flying around in our applet. The direction and speed will be chosen at random; the user can hit a ball by clicki...more
Just like "adding" sound files to an applet you can add pictures. Now I want to explain to you how to do this by adding a background picture to our "ball bounce" applet. Again we have to declare an...more
Sound files make a game much more exiting and they are really easy to "add" to a applet! It will take you just a few lines of code. In this chapter I want to show you, with the help of the "ball bo...more