peter.murray.rust peter.murray.rust - 1 year ago 104
Java Question

How do I get input from (Java) in Netbeans?

I have a small Java test app in Netbeans where the

class reads input from
. How can I open a window into which I can type input? (I am using NB 6.7.1 on Windows 7).

Answer Source

It may not be obvious but in Netbeans the Output tab at the bottom also takes input if your main thread is waiting for input. Just type under the last output line and hit enter. In other words, the Output tab is the same as a console window.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download