× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Hi Dennis,

As Pete indicated, and you probably already know once you think about
it, standard Java installations on the AS/400 don't have graphics, mouse,
etc support. Why? OS/400 itself is a green screen, character based system.
The solution is headless mode, and the AS/400's general solution for
providing graphics is with the PASE environment. See:

Native Abstract Windowing Toolkit
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/rzaha/nawt.htm

Using Headless Mode in the Java SE Platform
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/headless/

AWT Enhancements
Headless Support
http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless


Joe Sam

Joe Sam Shirah - http://www.conceptgo.com
conceptGO - Consulting/Development/Outsourcing
Java Filter Forum: http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International? http://www.jguru.com/faq/I18N
Que Java400? http://www.jguru.com/faq/Java400

----- Original Message ----- From: <DennisRootes@xxxxxxxxxxx>
To: <java400-l@xxxxxxxxxxxx>
Sent: Thursday, November 29, 2007 6:42 PM
Subject: Why PASE for jfreeChart?


Hi,

I installed Scott's JFREECHTR4 service program today and kept getting this
error message "java.awt.AWTError: AWT class or API used without
specifying property os400.awt.native=true". So I added that line to the
SystemDefault.properties file and this time it really gets upset because
we don't have PASE installed. I don't know why we don't, but I checked
and it isn't installed.

Before I go beg my boss to allow me to install PASE on our system, my
question is why does the jfreechart need it? The other java classes I've
used, (mainly through Scott's HSSFR4 service program), haven't needed it.

Thanks,

Dennis

--


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.