Just a followup. I am thinking that perhaps this problem is somehow caused
by my IDE, NetBeans? I'd still appreciate help/comments from anyone.
> Just a followup. I am thinking that perhaps this problem is somehow caused
> by my IDE, NetBeans? I'd still appreciate help/comments from anyone.
[quoted text clipped - 22 lines]
>>thanks
>>jonathan
Netbeans 4 perhaps?
NB4.0 appears to have a problem with reading input from System.in when
the application is run from within NB. I'm not up to speed with Netbeans
(normally use Eclipse), but the help on "Output Window" mentions the
following:
<quote>
When you run a program that requires user input, a new tab appears in
the Output window. This tab includes a cursor. You can enter information
in the Output window as you would on a command line.
</quote>
This input tab, however, does not appear when I tried a program that
reads from System.in. Probably with the new build system of NB4 (using
Ant), input to commandline programs has become difficult, or maybe
impossible.
Someone with experience in NB4 maybe knows how to enter keyboard input
for a command line program. Otherwise, if Netbeans has support forums
(undoubtly they have), you might want to ask there.

Signature
Regards,
Roland de Ruiter
___ ___
/__/ w_/ /__/
/ \ /_/ / \
Jonathan Halterman - 17 Feb 2005 19:42 GMT
> > Just a followup. I am thinking that perhaps this problem is somehow caused
> > by my IDE, NetBeans? I'd still appreciate help/comments from anyone.
[quoted text clipped - 42 lines]
> for a command line program. Otherwise, if Netbeans has support forums
> (undoubtly they have), you might want to ask there.
Yes, it appears I wasn't going crazy and that this was indeed a bug in
NetBeans 4 apparently caused by Ant. It's disappointing though to see that
it doesn't seem to be taken very seriously.
jonathan