Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Help available
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help available



Greetings,
Heh...  How about explaining multi-monitor support?  One of the more
pervasive bug reports I get for my open source app is that when people
open up the context menu or get tooltip pop-ups, they are on the wrong
monitor (generally the '0th' monitor), sometimes flush against a side,
sometimes in the 'right about correct' spot on the screen for where
the cursor is, just on the wrong monitor.

One issue may be that the JPopupMenu for the context menu is
constructed at program start, and so it gets the graphics
configuration of the 'first monitor', but the frame may have been
moved to another monitor.  Still, the X/Y that come in the mouse event
when the user does the context menu action (ctrl-click or right-click)
are supposed to be in the 'context' of the component that the click
occurred in, but using those X and Y values for setLocation only works
on a single-monitor screen.

Since there isn't a 'setGraphicsConfiguration', or whatever, for
moving a components native 'screen'...well, I'm at a loss, and worse
yet I don't have a multiple-monitor setup to even test this on.  I'd
love to help my users out, but I'm stuck...and for once, Google didn't
seem to help much, as it's apparently not a very common problem.

--  Morgan Schweers, CyberFOX!
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Help available (From: Robert MacGregor <email@hidden>)
 >Re: Help available (From: Michael McDougall <email@hidden>)
 >Re: Help available (From: Robert MacGregor <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.