Have you ever wanted to grab a screenshot from your Java application? Here’s a quick tutorial on how to grab a screenshot and save it to a JPEG and PNG file. This shows how to use the Robot class to capture the screen image and the ImageIO API to save it as a JPG and [...]
You will hear and see quite a few Java buzzwords in the Java world. It’s important to know the Java buzzwords because they represent the factors that have played important roles in shaping the Java language. These words are summarized in Table 1-3.
Buzzword
Description
Architecture neutral
The Java compiler compiles the source code into bytecode, [...]
The instructions of a running program and the related data are temporarily stored in the computer memory. Java has good news for you here: you don’t need to worry about memory management because the JVM and garbage collector will take care of it. However, you can help by being aware of where different things are [...]
The instanceof operator determines if a given object is of the type of a specific class. To be more specific, the instanceof operator tests whether its first operand is an instance of its second operand. The test is made at runtime. The first operand is supposed to be the name of an object or an [...]
Firefox has now been downloaded 165,123,014 times, inspiring hundreds of fantastic extensions. Rob Buckley presents the fifteen you really can’t afford to miss.
At the top of the list of things for web developers to remember should be a reminder that whatever can go wrong, will go wrong. Only the simplest of web page designs can [...]