How would you like to MASTER graphic design by next week?
Click here to find out how
Featured Photoshop templates - professional ready to use designs for your next project
View all templates
How to handle Thread-safety in Swing - Java tutorial
Main problem with Swing is that its not thread safe, you can not update Swing GUI component from any thread , which makes life of swing GUI developer quite difficult while programming concurrent applications which involves multiple threads. SwingUtilities provides solution of this problem by introducing two utility method called invokeAndWait and invokeLater, which allows you to update GUI from any thread in thread-safe manner by requesting Event dispatcher thread to do the update.
More cool Java tutorials:
The pitfalls and solutions of Java Benchmarking
Program performance is always a concern, even in this era of high-performance hardware. This article, the first in a two-part series, guides you around the many pitfalls associated with benchmarking Java code. Part 2 covers the statistics of benchmarking and offers a framework for performing Java benchmarking.
Data Access Object Design Pattern in J2EE
Data Access Object(DAO) ia a core design pattern in J2EE. It provides abstraction for various data access mechanisms.
How to include a Google Analytics code in android application?
This tutorial will show you how to include the Google Analytics code in android application.
Evaluating XPaths from the Java platform
Discover the flexibility of XPath when working with XML from Java programming. XPath makes selecting elements, attributes, and text in an XML document easy. Learn how to evaluate XPaths from Java programming, and work with the returned nodes.
SOAP Java Implementations
This Tutorial provides notes and tutorials on SOAP Java Implementations: Axis and Apache WebService.