Re: JPopupMenu position changing



Kari Ikonen wrote:
> However, best fix would be just to use component receiving the mouseevent
> as "invoker" for JPopup.show().
I'm not sure if I understand you right: I have to receive the mouseevent via
another Component, thus I've to add the MouseListener to this other
Component (JFrame)? Or do you mean, JTree|JTable receive the mouseevent but
delegate it somehow(?) somewhere(?)?

Thank you,
Martin
.



Relevant Pages

  • Re: JPopupMenu position changing
    ... > Coordinates in the MouseEvent are relative to component receiving the ... Martin ... Prev by Date: ...
    (comp.lang.java.gui)
  • Re: JPopupMenu position changing
    ... Martin Buerger wrote: ... Coordinates in the MouseEvent are relative to component receiving the event. ... then popup location would have been failing also for it. ...
    (comp.lang.java.gui)