Hello

General question about 5.0 here.

Did they change the way mouse events were issued?  Am not that familiar with 5.0
as have not had time to get into it.  I know a lot of things were changed but
can not remember if mouse events were changed or the event generation in general
like they did from 1.3 to 1.4 for swing.

If they did then maybe the code is not catching something that is sent 
differently.

Patrick or anybody with a 5.0 environment could you debug this issue?  

You should be able to catch the problem in the following modules:

Screen5250.java - method moveCursor
Gui5250.java - actionPopup() or in the jbInit() method where it adds the mouse
listener.

After looking at the code I wonder if the events are sent in a different order
or more events are being sent than before.

Hummm maybe there needs to be a consume for the mouse event now.  Not sure.... 

I remember having a problem with 1.3 when there was a consume of the mouse event
in one of the methods.  Also problems with using SwingUtilities for identifying
the popup trigger on linux boxes.

Any help would be appreciated.

Regards

Kenneth




Quoting Kenneth Pouncey <[EMAIL PROTECTED]>:

> Wim
> 
> [EMAIL PROTECTED] wrote:
> 
> >
> > Hello all,
> >
> > just noticed in my configuration. I'm running the emulator for several 
> > months now using Java Web start using my own JNLP file. In there I've 
> > stated that the emulator must run on JRE 1.4+. Now as the latest JRE 
> > installed on my (windows) PC is 1.5.0_01, I've been running the 
> > emulator on 1.5.0 for weeks now.
> >
> > Untill now I haven't had any problem except for the fact that the 
> > selection rectangle gets corrupted once and a while.  In the emulator 
> > we have integrated in our ERP applcitions (which run on JRE 1.4.2_03 
> > btw), we have corrected this issue by always resetting the rectangle 
> > location on start-drag-gesture of the mouse. 
> 
> The rectangle was going to work like client access.  I can not remember 
> which emulator I was taking the rectangle functionality from as an 
> example.  I think it was only client access where an option was given to 
> keep the rectangle through screen navigations.  There was going to be an 
> option to keep the rectangle on the screen even after copy or not.
> 
> For example:
> You have a subfile and you wanted to copy three pages of subfile data to 
> be pasted in a document.  On almost all emulators you would have to 
> select the table data, copy and then page down, select the data again, 
> copy and then page down, etc... until you were finished.  What I was 
> trying to do was keep the selection active until you were finished and 
> that way you would not have to keep selecting the area. 
> 
> Now I ran into a problem of how to implement this because that means it 
> would always be on the screen so implemented the removal of the 
> selection rectangle if the screen was clicked with the mouse and the 
> cursor was moved (like client access).  Well that worked great but what 
> about those times when all you wanted was one time copy and the 
> selection triangle should disappear?  You would have to go back to 
> options and select the option of not keep the selection rectangle.  Then 
> continue.  I think that is the way client access implements it and do 
> not really like it all that much. 
> 
> Any ideas on how to do this without all the option changing crap?
> 
> Off the top of my head, now that I am thinking about it, would be to 
> keep the normal way of doing things and when a copy takes place remove 
> the rectangle afterwards.  If you want to keep the rectangle selection 
> then we could use a modifying key like <shift + selection> and that 
> would keep the rectangle until dismissed but a cursor movement with 
> mouse.  That would only work with mouse though and not with keyboard 
> selection navigation.
> 
> > This fixes the problem for us, but makes us loos the functionality 
> > that you can stretch the existing selection rectangle with the mouse. 
> > We could implemetn this functionality like client access: shift arrows 
> > start and stretch the selection rectangle, ctrl arrows move the 
> > selection rectangle.
> 
> 
> This was going to be the ending functionality like client access.
> 
> Anybody out there willing to take on this enhancement?
> 
> >
> > Anyways, to me the emulator seems to be working on 1.5(.0_01)
> 
> If the corrupted selection rectangle is the only problem with 5.0 then I 
> am very happy.
> 
> > Regards,
> > Wim. 
> 
> 






-------------------------------------------------------
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

Reply via email to