Posted by: Morten Nobel-Jørgensen | January 18, 2009

Changing preferred size of a html JLabel

In general Swing is build to be a very dynamic GUI library, that let the developer create UI that supports rescaling (so the components of the layout will refit into new dimensions).
In general the layout is created using minimum-, preferred- and maximum dimensions of the components along with layout managers.
Most of the cases this seems like a good approach, however, when the preferred size does not fit your layout, it can be hard to find a valid dimension.
This is a common problem when the component can wrap, such as a JLabel containing html. Read More…

Posted by: Morten Nobel-Jørgensen | December 20, 2008

Downscaling images in Java

In this blog, I’ll describe 3 different approaches of downscaling images in Java. I have gained my knowledge from the creation of Easizer – a user friendly image resizer I have written in Java. Even though Easizer supports upscaling of images, the normal use case would be downscaling a high-resolution photo to size useable for webpages and emails. Besides rescaling the Image, Easizer also supports adjusting the jpeg quality to a certain file size and copy the EXIF information. Read More…

Posted by: Morten Nobel-Jørgensen | October 19, 2008

Scenegraph Shell 0.3 – Eclipse compiler in JWS

In this blog, I’ll introduce the new features in Scenegraph Shell version 0.3 and describe the trouble I had, when I tried using the Eclipse compiler in Java Web Start. If you didn’t read my blog about Using Eclipse compiler to create dynamic Java objects I suggest that you skip the last part. Read More…

Posted by: Morten Nobel-Jørgensen | October 8, 2008

The Oswald Touch Experience

Oswald Touch is an iPhone game I created on the iPhoneDevCamp 2008. In this blog, I’ll describe the 17 hours non-stop coding it took creating the Oswald Touch. Note that this blog is a cross post from iphone.devcamp.dk.

Read More…

Posted by: Morten Nobel-Jørgensen | August 12, 2008

Top 10 Java links

Here is a list of my favorite webpages about Java. The list is unordered, since it covers quite incomparable things, such as games, forums and podcasts. Read More…

« Newer Posts - Older Posts »

Categories