How-To Tutorials, Tips & Tricks

Parsing / Reading XML file in Java.

Parsing / Reading XML file in Java.

While working on a small requirement, I had to write a small piece of code that can parse an XML file in Java. Although there are number of libraries available in Java which does...

How to take screen shots in Java

How to take screen shots in Java

While surfing through internet, I came to this amazing piece of code in Java that takes the screen shot of your desktop and save it in a PNG file. This example uses java.awt.Robot class...

Calling JavaScript function from String

While creating the jQuery plugin for DIV TEXT BOX: Create orkut style status update box, I had a requirement where in I had to call a JavaScript function whose name is specified as a...