Re: JPopupMenu position changing
- From: Martin Buerger <mbuerger_DELETETHIS_@xxxxxxxxxxxxxxxxx>
- Date: Mon, 28 Nov 2005 22:01:25 +0100
Kari Ikonen wrote:
> Coordinates in the MouseEvent are relative to component receiving the
> event. If coordinates are required to be converted between coordinate
> spaces, then SwingUtilities.convertX() -methods can be used.
The only way I found to solve this was to use
SwingUtilities.convertPointToScreen(). Thanks for your help.
Ciao,
Martin
.
- References:
- JPopupMenu position changing
- From: Martin Buerger
- Re: JPopupMenu position changing
- From: Kari Ikonen
- JPopupMenu position changing
- Prev by Date: Re: Strange behaviour of JTabbedPane
- Next by Date: how to get renderer component from currently selected node
- Previous by thread: Re: JPopupMenu position changing
- Next by thread: How to start default browser when clicking on a label
- Index(es):
Relevant Pages
|
|