One of the forms of syntax in TNRL doesn't seem to work in the latest
versions of netrexx, specifically the Section 17 section on imports, page
82 in my book.
According to this I should be able to:
import com.sun.
and this will (similar to the third example provide), "imports all classes
in the packages whose name start with " com.sun.
I tried this with some swing packages (com.sun.java.swing for example) and
got compiler errors:
Program Desktop.nrx
6 +++ import com.sun.java.
+++ ^^^
+++ Warning: No classes found for import from package 'com.sun.java.'
16 +++ class Desktop extends JPanel adapter -
+++ ^^^^^^
+++ Error: The class 'JPanel' cannot be found
Compilation of 'Desktop.nrx' failed [one error, one warning]
Translate time: 32.9s
javac time: 0.3s
Total time: 33.2s
JPanel is in com.sun.java.swing
Has this been changed since the book??
dIon Gillard
Sun Certified Java 1.1 Programmer
Work:
http://www.multitask.com.auNetRexx:
http://www.multitask.com.au/netrexx~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>