Re: Java Client screen formatting on AS/400 itself
De Graef Luc <[email protected]>
| Newsgroups | gmane.comp.java.tn5250j.general |
|---|---|
| Message-ID | <[email protected]> |
Hello Wim,
'client programs that resemble the standard AS/400 look and feel'
I mean that we want to have a screen layout with options, function keys,
header, 'subfile'. (I think it is called the SAA standard)
We are indeed connected with telnet to AS/400, but start a Java client, and
we want it to give us the above screen layout.
I tested it with Java Curses (SourceForge project)
quote ("The Java Curses Library (JCurses) is library for
developing text terminal based applications using Java programming language.
It is implemented as a Windowing toolkit similar to AWT, but built upon the
UNIX "curses" windowing system. ")
Java Curses is a Jar using (through JNI) a C DLL calling Windows screen
manipulation API's. It is a simple exercise to create the desired layout.
I tried to port it to AS/400 replacing the Windows API's by OS/400 API's
(Dynamic Screen Management), but unfortunately this does not work.
quote (The Dynamic Screen Manager (DSM) APIs are a set of screen I/O
interfaces that provide a dynamic way to create and manage screens for the
Integrated Language Environment (ILE) high-level languages. Because the DSM
interfaces are bindable, they are accessible to ILE programs only.)
Another alternative is to have a C program, taking care of the Screen
Layout, and calling (JNI) the java classes to perform the actual work. THis
is a nasty solution, because it leads to non portable code.
I hope this explains 'my wishes'
Regards
Luc
Hello Luc,
what do you understand by 'client programs that resemble the standard
AS/400 look and feel'. As you can connect with telnet to the AS/400, you
can do this across a dialup. As the native interface of AS/400 is only
telnet/5250, I do not understand you question.
And what is Java Curses?
Wim.
This e-mail may contain information which is privileged or confidential. If
you received this e-mail in error, please notify us immediately by e-mail or
telephone and delete the e-mail without copying or disclosing its contents
to any other person.