not idle

Archive for September, 2009

Netbeans Classloaders

Tuesday, September 29th, 2009

Netbeans classloader system consists of three types of classloaders, namely module classloader, system classloader and original classloader. Usually, module classloaders are used to load classes and resources from within the module itself. However, there are situations when you need to access classes and/or resources from other modules. Imagine two modules, A and B. Class Ca [...]

Read the rest of this entry »

Boolean state menu items in Netbeans

Monday, September 28th, 2009

Netbeans platform supports different kinds of actions (always enabled, CallableSystemAction, CallbackSystemAction etc). However, it was not clear to me how to create an action that could be used for toggling the state of the system. Initially, I experimented with Presenter.Menu interface and provided my own implementation of the JCheckMenuItem but couldn’t get the platform to [...]

Read the rest of this entry »

Repair broken AVI in linux

Sunday, September 20th, 2009

mencoder -idx input.avi -ovc copy -oac copy -o output.avi

Read the rest of this entry »

multitouch, part II

Tuesday, September 15th, 2009

A short briefing about what’s going on with Xlab’s multitouch screen. So: we developed a screen that actually works – still a prototype, but a good one! All we¬† need to do, is to mount it in some good looking box. Besides the looks this will also help improving the screen’s performance, by using CCV [...]

Read the rest of this entry »