>>>>> Greg O'Keefe writes:
Greg> HI
Greg> Which mmouse button is supposed to be the popup trigger in
Greg> linux? I have some code that worked under M$ win95, where
Greg> right clicking bought up a pop up menu, but I can't get the
Greg> menu up under Linux unless I remove the
Greg> if(e.isPopupTrigger()) code. Or isn't it as simple as that?
Greg> I'm using rh5.2 with kde1.1, and Blackdown jdk1.2 pre v1,
Greg> and none of the mouse buttons seems to satisfy
Greg> isPopupTrigger(). Is it a bug, or do I need to put something
Greg> in a config file somewhere or what?
On ms windows `right button released' is the popup trigger but on
Xwindows it's 'right button pressed'!
You have to test for isPopupTrigger both in mousePressed and
mouseReleased.
Juergen
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]