× 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,

I have a simple java program which extends JFrame and
I get the following error when i try to run it.
It just popups a window to say hello window??
I have jdk1.3.1 on V5R1 AS400

Ashish


java  MyWindow                                        
                      
Exception occurred in main() of javax.swing.JFrame    
                      
java.lang.Error: Could not find class:
com.ibm.rawt2.ahost.java.awt.AHGraphic
sEnvironment                                          
                      
     
java/lang/Throwable.<init>(Ljava/lang/String;)V+4
(Throwable.java:90)  
     
java/awt/GraphicsEnvironment.getLocalGraphicsEnvironment()Ljava/awt/Gra
phicsEnvironment;+63 (GraphicsEnvironment.java:61)    
                      
     
java/awt/Window.<init>(Ljava/awt/GraphicsConfiguration;)V+69
(Window.ja
va:186)                                               
                      
      java/awt/Frame.<init>()V+7 (Frame.java:262)     
                      
      javax/swing/JFrame.<init>()V+1 (JFrame.java:141)
                      
      MyWindow.<init>()V+0 (MyWindow.java:33)         
                      
      MyWindow.main([Ljava/lang/String;)V+0
(MyWindow.java:161)              
$                                                     
                      

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.