Working around the Swing setMinimumSize bug

Within Swing you’re supposed to be able to specify the minimum size for a frame with a simple call. For instance, assume that I made a frame that extends JFrame. Consider adding the following line to the constructor: setMinimumSize(new Dimension(600,400)); This...

At least my 6-year-old gets my humor…

[Originally Posted 28-Apr-05] Last night my daughter, Isabelle, says to my wife Mommy, what do chamelions do when they get mad? (no I don’t know where she gets these questions, but that doesn’t stop me from having fun) I promptly replied: They spit...

Using Java Assertions

[Originally Posted 25-July-2004] Most Java programmers know that as of Java 2 release 1.4 a new keyword “assert” has been added. But far less programmers know what it’s good for. Developer Exchange has a great article explaining assertions and how to...

Introduction to AOP in Spring

[Originally Posted 18-July-2004] OnJava.com has a great article on Aspect Oriented Programming and the Spring Framework. AOP via Spring is done in a very neat and pragmatic approach. No pre-compilers (like AspectJ) needed. Just simple XML configuration of your Spring...

The Java is Faster than C++ Benchmark

[Originaly Posted 22-June-2004] I knew that Java was gaining ground on C++ in a lot of areas with respect to performance, but this is quite impressive… http://kano.net/javabench/index Note that while the client JavaVM still has pretty bad performance (it’s...

The Java Web Services Tutorial

[Originally Posted 26-May-2004] This tutorial is a beginner’s guide to developing enterprise applications using the Java Web Services Developer Pack (Java WSDP). The Java WSDP is an all-in-one download containing key technologies to simplify building of Web...

EJB 3.0 based on Hibernate… And more…!

[Originally Posted 13-May-2004] Once again the Open Source movement has a profound impact on the commercial Java market. Apparently the new Enterprise JavaBean spec (EJB 3.0) will be based on the Hibernate ORM system. Hibernate’s biggest reason for existance (in...