by David Orriss Jr | Nov 26, 2006 | Java
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...
by David Orriss Jr | Nov 26, 2006 | Java
[Originally Posted 18-Nov-2005] Here’s a pretty cool trick for Java GUI-app developers. From the O’Reilly Book “Swing Hacks”, Joshua Marinacci and Chris Adamson show how to make transparent windows…...
by David Orriss Jr | Nov 25, 2006 | Java
[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...
by David Orriss Jr | Nov 25, 2006 | J2EE
[Originally Posted 20-July-2004] TheServerSide.com has a new free book offering from authors Jayson Falkner and Kevin Jones. This new version of their book covers Servlet Spec 2.4, JSP 2.0 and JSTL 1.0. This book covers a wide range of topics from installing J2SE on...
by David Orriss Jr | Nov 25, 2006 | J2EE
[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...
by David Orriss Jr | Nov 25, 2006 | Java
[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...