开云体育

Locked Re: 1.0.3 control panel questions


Alex Shepherd
 

Thanks, I'd appreciate it. The mouse events are handled primarily in
jmri.jmrit.display.PositionableLabel where I decode what's going on,
then invoke a subclass method to really display the popup. There's a
lot of debugging there, so if you just turn on the log4j category with
Well making the change below

if (e.isPopupTrigger() || ( ( e.getModifiers() &
MouseEvent.META_MASK ) != 0 ) ) {

allows a "Right-Click" to activate the popup so it now works for Win2K at
least. I'm not really sure how isPopupTrigger() will ever return true as it
is not obvious from the source - needs some more research to really
determine what is supposed to happen. I'll have a did into the swing demo
samples, maybe they will reveal the secret...

Alex

Join [email protected] to automatically receive all group messages.