Beni S. Gilbert wrote:
It's hard to handle Swing from anywhere ;-)Hi Jim, Shall we handle swing from jbase using callj? However, I believe that we have looked in to this before and that you are unable to start GUI programs using CALLJ because there is not GUI screen attached to the process that Swing or AWT can hang on to. CALLJ is really just a for quick-and-dirty hacks that allow you to exchange some simple data between systems. Once you get into the need for GUI interfaces and so on, then you really need to construct this the other way around, with your Java program starting the session and making calls to your subroutines via Java OBjEX, which I presume is still shipped with jBASE. You could also use JNI to call into jBASE too. I can tell you that there probably is some way to initialize Swing when you know that there is a locally available 'screen', but if it isn't a matter of setting the X style SCREEN variable, then it is going to be awkward. Google and Swing groups may be able to help you. It is likely that if you are running at a Windows console or Unix console (with X) then a swing application probably works out how to address the screen, but it is just as likely that because jBASE is a terminal/console application, that the correct information is just not available. I think you may be trying to work too far outside the box ;-) Why don't we go back to "What is it that you want to do?" as there are probably better ways than CALLJ Jim Is there any common variable to handle swing components.Thanks, Beni S. Gilbert On Jan 27, 3:43 pm, Santosh <[email protected]> wrote:Let me know the OS details and JRE details installed in your system. On Tue, Jan 27, 2009 at 7:33 AM, Beni S. Gilbert <[email protected]>wrote: --~--~---------~--~----~------------~-------~--~----~ Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24
To post, send email to [email protected]
|
- CALLJ ERROR!!! Beni S. Gilbert
- Re: CALLJ ERROR!!! Jim Idle
- Re: CALLJ ERROR!!! Beni S. Gilbert
- Re: CALLJ ERROR!!! Santosh
- Re: CALLJ ERROR!!! Beni S. Gilbert
- Re: CALLJ ERROR!!! Jim Idle
