I have a small Java test app in Netbeans where the main()
class reads input from System.in
. 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With