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


  • Subject: Calling a Frame in java/400
  • From: "vijayakumar purushothaman" <p_vijayakumar@xxxxxxxxxxx>
  • Date: Fri, 26 May 2000 00:40:01 PDT

Hai,
           I have a simple java program which is calling a frame. I also 
have jt400.zip in my classpath. The program compiling well, but when i try 
to run the program it is giving the following errors. If anyone knows the 
solution, pls let me know, i will be very thankful.

Regards,
Vijay.

java hello1

java.awt.AWTError: Toolkit not found: sun.awt.motif.MToolkit
      java/awt/Toolkit.getDefaultToolkit()Ljava/awt/Toolkit;+51 
(Toolkit.java
:396)
      java/awt/Frame.addNotify()V+14 (Frame.java:203)
      java/awt/Window.pack()V+27 (Window.java:123)
      hello1.main([Ljava/lang/String;)V+21 (hello1.java:13)

________________________________________________________________________

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

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.