lists.zerezo.com



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

***BOGO*** [Mingw-users] FW: gcj. JTextArea compile problem



Thanks.

 

Using

import `javax.swing.JTextArea'

 

instead of

import `javax.swing.*'

 

gives the error message below so I’m guessing that JTextArea is not handled by gcj.

 

Apologies if I’ve misused this mail list.

 

Ares

 

Error on compilation :

 

Roger@ROGER-HOME /c/msys/1.0/mingw

$ gcj --main=Trial1 Trial1.java

Trial1.java:11: error: Class or interface `javax.swing.JTextArea' not found in import.

   import javax.swing.JTextArea;

          ^

Trial1.java:17: error: Type `JTextArea' not found in declaration of field `textArea'.

       JTextArea textArea=new JTextArea(2,20);

       ^

2 errors

 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users