If you want to run your Java™ application on a host that does not have a graphical user interface (GUI), such as an iSeries™ server, you can use the Native Abstract Windowing Toolkit (NAWT).
Use NAWT to provide your Java applications and servlets with the full capability of the Java 2 Software Development Kit's (J2SDK), Standard Edition AWT graphics functionality.