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.

Reply via email to