Saturday, January 15, 2011

VisualLibray Z-order problem for ComponentWidget

For too long I had a problem with the Z-ordering of ComponentWidget's in VisualLibary.

As a reference it was fixed in NetBeans 6.8 (see and the fix source in

As I am still in NetBeans 6.5 the solution was simply the use the 6.8 jar of the org-netbeans-api-visual.jar and replace the one in your Nb 6.5 install under platform9/modules.

Note that you CANNOT use the version from 6.9 or later due to some major refactoring of modules (like the Lookup got its own module).

This now works perfect.