I am not able to catch JToolbars's move event when is floatable. I used ComponentListener and componentMove function but no luck :(.
Has anyone an idea how can I achieve that???
Thanks in advance ironexmaiden.
Printable View
I am not able to catch JToolbars's move event when is floatable. I used ComponentListener and componentMove function but no luck :(.
Has anyone an idea how can I achieve that???
Thanks in advance ironexmaiden.
Try AncestorListener#ancestorMoved(...) or HierarchyBoundsListener#ancestorMoved(...)
If neither of those do it, post back and I'll take another look.
Also note that there is no 'componentMove function'. there is a componentMoved(...) method.
db
To what did you add the listener?
To get better help sooner, post a SSCCE (Short, Self Contained, Compilable and Executable) example that demonstrates the problem.
db