Patrick
I am pretty sure if you put
if (SwingUtilities.isRightMouseButton(e)) {
return;
}
at the beginning of the mouseClick() method this problem will go away.
Regards
Kenneth
Quoting Patrick Bielen <[EMAIL PROTECTED]>:
> Hi Kenneth,
>
> > Patrick how is the debugging going?
>
> Well seems "int g = planes.getWhichGUI(pos);"
> on line 720 in Screen5250j.java returns 0,
> so the moved always returns true and the
> cursor is moved... so the must be a problem
> with the planes on some or other way.
>
> In debug mode g always returns 0 no idea why.
>
> And as Wim mentioned before, the
> boolean moved = screen.moveCursor(e, pos);
> on line 167 in Gui5250.java is not always
> reached, then it is, then it is not...
> this is really weird stuff.
>
> well this is how my screen looks at...
>
> HOO
>
> Tik keuze in, druk Enter.
> 2=Uitvoeren
>
> Kz Beschrijving
> Systeemtaken
> Afmelden van systeem
> ------------------------
> Artikelen
> Verkoop
> Inkoop
> Klanten / Leveranciers
> ------------------------
> Adequat
>
> When i select from the b and move until the s of
> leveranciers the selection is there, when i
> right click in the selected area (pos 7/7 to 15/28)
> on position 12/7 or higher (13/7, 14/7 or 15/7 or
> 13/8, 13/9 or 13/10) then the selection disapears.
> But above the 13 pos it remains intact, that's why
> i do not get when it changes. Cause when the selection
> stays intact, the mouseclick event is not triggered.
>
> At the other hand, when i select (pos 7/70 to 15/79)
> on the screen it doesn't matter where i click in the
> selected area, then the click is always triggered
> and the selection disapears.
>
> So the only thing i can say thusfar is... when the
> mouseclick event is triggered it goes terrible wrong,
> but when only the mousedown event is triggered all
> is okay, so there must be something wrong somewhere.
>
> Met vriendelijke groeten,
> Best Regards,
>
> Patrick Bielen
>
> System-Administrator Stafa Holland BV
> Microsoft Certified Professional
> Sun Certified Java Programmer
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you
> shotput
> a projector? How fast can you ride your desk chair down the office luge
> track?
> If you want to score the big prize, get to know the little guy.
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> _______________________________________________
> Tn5250j-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tn5250j-general
>
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Tn5250j-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tn5250j-general