|| | |||Browse by category|
Using the setOpen() method on a TreeControl does not update the node image displayed on the TreeControl.
This is a bug in the 3.0 version of JWidgets that causes the node image to redraw incorrectly when the setOpen() method is used.
A revised version of the TextAndImageNode.java file is available by clicking here.
This file will repair the problem of the node image not being updated correctly when setOpen()is used.
To install this file, simply replace and recompile the existing TextAndImageNode.java file.
To recompile the file, type
at the command line.
A new TextAndImageNode.class file will be created for inclusion in your projects.
This file must be compiled using JDK 1.1.x.