Archives for Java

Vertical text align of radio buttons in java

I have been doing some GUI java code in both swing and SWT recently and find text alignment a niggling annoyance of mine. Often you want to align components with the text line vertically of combo or check boxes. Here is the code for determining the width in pixels for the two most popular GUI [...]

Netbeans

I have become a bit obsessed with the java community lately more in a consuming fashion than a participatory fashion, reading Java Desktop and listening to the Java Posse and it just keeps coming up how much everyone loves Netbeans and that everyone should be using it for Java development. Features such as Mattise look [...]

gstreamer port to Java

It has long been discussed in the java community about the lack of a good multimedia framework for the platform. After reading Chris Adamson’s wrap up of his JavaONE BoF I felt here is a cause I could really get behind. I starting thinking yes wouldn’t it be great if gstreamer was ported to java. [...]

Asserting SwingWorker

I have had a chance to play around with some java code recently for a change of pace and I was excited to use the new SwingWorker class in JSE6. However I also am in the habit of programming with asserts which I found out to be a problem if one triggers while running in [...]

Open Java and Windows Options

Well it’s officially been announced that Java J2SE, J2ME, J2EE will all be released by sun as reference implementations under the Gnu GPL + classpath exception. Which I’m sure will bring a new era of Java, especially to Linux since Java will be able to be shipped with distributions without concern just like Mono is [...]

Code Cutting

Well this page always seems to get a bit neglected when nothing much happens…… Something interesting that I have come across is the w3c DOM in java and how there isn’t a definitive guide to how to output it to pretty print, ie human readable, there were a few examples with xerces-j but I thought [...]

Interesting Java Proposal

In the java community there has been a long and heated debate about adding delegates to the language. There is a white paper on Suns website explaining there position on the debate. Which is in response to Microsoft’s implementation of them in J++ which in tern could be deemed as the turning point for Microsoft [...]

Big News

Well once again me like some of my friends find it hard to actually get to the content page and add new stuff to their blogs but I think the news of the last 2 weeks really deserves a blog post. Well probably the biggest news is from this week, Merinda and I have bought [...]

MMMM Mustang

I hate to just blog about someone else’s blog but hey improvements in Java like this don’t come around everyday. In the latest build of Java 6.0, Mustang, they have implemented a better register allocator and have managed to speed up the Hotspot Client by 58%. Now that is amazing and with other improvements like [...]

Study

You know what one of the hardest things to do after a year off (I was on IBL for a year at VSL) is STUDY. I was trying all of last week, I got a little bit done but really not enough. After last year when I could come home and forget about work to [...]