Steve Cohen <[EMAIL PROTECTED]> writes:

> Joachim Schaaf wrote:
> 
> > Steve Cohen wrote:
> > >
> > >   I am getting my feet wet with java-linux.
> > > As a first step, I am simply copying code from the disk included with
> > > the book
> > > "Java for C/C++ Programmers" by Michael C. DaConta.
> > > The first "Hello World" program worked okay but the second one,
> > > attached, does not.
> > > On my RedHat 5.0 systems (yes, I've upgraded glibc and ld) the dialog
> > > comes up but no keyboard input shows up.  Any idea why?
> >
> > > // our book class
> > > import book;
> >
> > I guess without this package (book) noone can compile it ...

You can compile the relevant stuff if you comment out the book stmts.

> Sorry about that.  Okay, it's all there now.  src1-7.java is a new version
> incorporating Juergen Kreileder's code fix.  It still doesn't work.
> src1-4.java has the book class.

Your code works fine with JDK 1.1.6!

        Jürgen

-- 
Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
Baroper Strasse 301, D-44221 Dortmund, Germany
Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Reply via email to