p_suwanpech
|
Posted: June 29, 2010 16:09 by p_suwanpech
|
|
I use dev-hh-2 in my project and i found some bug (I don' remember why i choose dev-hh-2) I found a bug as describe below. If validate component(like JTextfiled) is a child of JScrollPane and when JScrollPane moved an error icon do not re-locate/repaint I found that a ComponentListener in this case not adequate. I was fix by add following line in SimpleDefaultDecorator at line 521 decoratedComponent.addAncestorListener(new AncestorListener() { public void ancestorAdded(AncestorEvent event) { } public void ancestorRemoved(AncestorEvent event) { } public void ancestorMoved(AncestorEvent event) { tryDecorationIcon(); } }); |
Error icon do not re-locate in JScrollPane (dev-hh-2)
Replies: 0 - Last Post: June 29, 2010 16:09
by: p_suwanpech
by: p_suwanpech
showing 1 - 1 of 1
Replies: 0 - Last Post: June 29, 2010 16:09
by: p_suwanpech
by: p_suwanpech






