Re: print before take Scanner input not working

2020-12-18 Thread Peter
This was introduced sometime after Maven 3.3.9 (after Netbeans 11.1). Running Netbeans 12.1 with Maven from Netbeans 11.1 is a work around. On 2020/12/16 18:11:31, "Christopher C. Lanz" wrote: > Hello, > > For many years, and both with NetBeans and with just a terminal, I have used >

Re: print before take Scanner input not working

2020-12-16 Thread Laszlo Kishalmi
The build tool is important here. I think you are experiencing: NETBEANS-4617 The fix for that is in 12.2: https://github.com/apache/netbeans/pull/2270 It is marked to be backported to NetBeans 12.0-u2 On 12/16/20 10:11 AM, Christopher C. Lanz wrote: Hello, For many years, and both with

print before take Scanner input not working

2020-12-16 Thread Christopher C. Lanz
Hello, For many years, and both with NetBeans and with just a terminal, I have used methods like this, to prompt the user to enter (say) an integer: public static int inkeyInteger( String message ){ System.out.print( message ); Scanner console = new Scanner(System.in); return