Problems with 'The NetRexx Language' book

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems with 'The NetRexx Language' book

dIon Gillard/Multitask Consulting/AU
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.au
NetRexx: 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>

Reply | Threaded
Open this post in threaded view
|

"OS/2 World" magazine

Tadashi Ohmura
Today, "OS/2 World" magzine is published in Japan.
It has 6 pages article about NetREXX.

--

     Tadashi Ohmura ( ‘呺 ’‰Žj )
                      E-mail : [hidden email]
  5-3-4 kaijin  Funabashi City  Chiba Pref.  273 JAPAN
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>