Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

want to retrieve location of a toolbar at the time of docking

843806Aug 27 2007 — edited Aug 27 2007
Hello All,

I have Jtoolbars in my application which is floatable.
whenever user drags it from the default location and places it at some other location i want to store that location and want to display the toolbars at that location next time user opens the application.
Currently the parent container of the toolbar is having BOX Layout. I am using getLocation method of the toolbar but it is returning 0 every time regardless of the location of the toolbar.

Please help me in this regard.........
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 24 2007
Added on Aug 27 2007
2 comments
71 views