Re: [Tn5250j-general] tn5250j portal

2005-06-09 Thread Wim . Van . Leuven
Hello Kenneth, Maybe what he says is true, but if you start hacking the GUI class to inject you own user credentials, you do worse then structuring not the best OO code. Why doesn't he just use the SessionBeans class and wrap it up in his own JFrame to webstart that one? We have a project

Re: [Tn5250j-general] tn5250j portal

2005-06-09 Thread Kenneth Pouncey
Wim Beleive me I will be the first to admit that the code is not the best OO code base. Although it is a hell of a lot better than it used to be. I think the refactoring went well over all IMHO. Actually started to write him about the SessionBeans class but decided not to get in the middle.

Re: [Tn5250j-general] Paste of long text

2005-06-09 Thread Marc Vos
Kenneth, Works great! And the selection rectangle works great too (with the mouse)! About the rectangle: --- It still dissapears (selection remains active) from the screen when I press RESET (left CTRL key). When I then press ENTER again, the rectangle reappears. Thanks,

Re: [Tn5250j-general] tn5250j portal

2005-06-09 Thread Kenneth Pouncey
Wim Theoretically that should be possible. The reason I say theoretically is that the only thing the gui would do is attach listeners for the object events it wants to see. So you should be able to send keys and as long as there are no listeners attached the events will not be sent. After

Re: [Tn5250j-general] Web5250

2005-06-09 Thread Pete Helgren
Cool! I tried as best I could to get the function keys working and also hard coded the control key as Enter (my preference). You'll find out pretty quickly that the complete set of key movements still needs to be handled. Try the cursor movement keys, for example. Or new line. Also, I