peter.murray.rust peter.murray.rust - 7 months ago 55
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).


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.