Fuse, UI Oriented Resource Injection
February 05, 2006 by nxt
With Fuse you can easily inject data in your application at runtime by specifying them in a properties file,
for example using an background image
you used to do something like this:
class CustomComponent extends JComponent {
private Image background;
CustomComponent() {
try {
background = ImageIO.read(getClass()
.getResource("/resources/background.png"));
} catch (IOException e) { }
}
}
With fuse the code would look like this
class CustomComponent extends JComponent {
@InjectedResource
private Image background;
CustomComponent() {
ResourceInjector.get().inject(this);
}
}
Ofcourse you must load a properties file before calling inject using:
ResourceInjector rInjector=
ResourceInjector.get().load("/resources/fuse.theme");
For more information about Fuse see this entry in the Romain Guy's blog. or take a look at the project page
new car
January 14, 2006 by nxt
I finally bought a car.

Wireless
December 30, 2005 by nxt
I recently bought the 3com OfficeConnect travel router to have wireless internet whenever I'm at my parents.
I'm very pleased to see that - despite some reviews I've read - the range is very good.
I chose this one because it can function as an accesspoint, router or
client. The client mode can be usefull when I'm with other people since
my laptop (acer travelmate 800LCi) only has 11b, so I can get some
higher speeds with this thing. It would have been nice though if it
could optionally be powered by usb so that I wouldn't need to carry the
adapter everywhere I go.
Apache 2.2.0
December 10, 2005 by nxt
I wanted to upgrade to Apache 2.2.0 on my windows server, but because
of some changes in the APR library all modules need to be recompiled.
In my case the most important ones are mod_ssl and the subversion
modules.
It seems very difficult to compile the two with visual studio 2003 without compile errors :(
but I keep trying... I now have only two compile errors left to resolve.
Java for C++
December 02, 2005 by nxt
If you ever tried to use JNI, you might find this utility usefull.
Java for C++ generates c++ wrappers for your java classes to make it easier to use communicate with a c++ application.
According to the freshmeat article, there are still some problems with multidimensional arrays and strings that contain binary data.
But it looks promising.
Buitenkunst 2005
August 18, 2005 by nxt
I'ts been a while, but I've got a fulltime job now and
I just got back from buitenkunst 2005.
for people who want to take a look at what I've done there
go to zangwerkplaats.blogspot.com