Skip to main content

Blog Archive for alexfromsun during March 2011

Checked exceptions are painful. I could write a long article about it, but there are more than enough good blogs describing this problem. My favorite article is written by Rod Waldhoff. From my point of view the existence of the InvocationTargetException clearly shows the problem. Imagine you call a method which throws an exception, you properly catches it and then you decide to rewrite the...
We have all read the "Effective Java" book and know that we should prefer interfaces over abstract classes. This is a known and respected pattern which should be used wherever possible. However the years in the JDK team tauhgt me not to blindly trust to good practices from the world of application programming. A distinctive feature of the JDK is backward compatibility. All programms...
I truly love the Swing GUI toolkit, I enjoy its flexibility, opennes and great abilities. I know that some people say that Swing is too difficult to learn, and I partly accept it because it took me several years working in the Swing team to get the whole picture of the AWT, Java 2D and the Swing itself. The Swing history counts more then 10 years and it is definitely not about end. The new...