What's Happening

Archive for 'java' Category

Design by Contract with Eclipse

Aug 14th, 2008 by blog | 0

Developing code should involve a robust and rigorous testing step. Unit testing is commonly used but there is a different more flexible way introduced by Bertrand Meyer called “Design by Contract” (wikipedia), where the server ensures that the invoked stated is correct if the client provides correct data. Whether the “contract” is fulfilled by both [...]

Read full post...

Expandable ToolTip in Java

Jul 22nd, 2008 by blog | 4

Synopsis ToolTips in Java are handy to explain the function of a button or other component, however, describing the function in not even a sentence is sometimes pretty hard. Sure, you can provide a “help” document to supplement but finding the comment about this particular element sometimes just takes too. So wouldn’t it be ideal [...]

Read full post...

Building jars

Jul 4th, 2008 by blog | 0

When developing a program you don’t want to write everything from scratch. Hence, including other libraries becomes standard. The easiest way to make use of the external libraries is to include a jar file. However, when you want to distribute your program as a jar file yourself, those external libraries come back to bite you: [...]

Read full post...