Is there any tool to find the location of a componenet in the frame in Swing?
Thennam Pandian
Ranch Hand
Joined: Oct 11, 2005
Posts: 163
posted
0
Hi,
We have tool to locate each component in a web page. Also we can change the location of component in run-time.
I need a similar tool to locate each component in a frame.
It will be very useful to locate the component, if it not visible in frame.
Or -
- get the component's location on screen
- get the window ancestor for the component (SwingUtilities method)
- get the window's location on screen
- do the math
luck, db
There are no new questions, but there may be new answers.