Re: Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)

2020-12-16 Thread Andreas Reichel
On Thu, 2020-12-17 at 06:29 +0100, Geertjan Wielenga wrote: > Do you need to use nb-javac? Good Morning Geertjan. Thank you for replying so fast. I can run Netbeans 12.2 without that plugin of course, but somehow this beats the purpose: 1) Netbeans urges the installation of this plugin every s

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 Net

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 consol

Does NetBeans install a Maven settings.xml?

2020-12-16 Thread Will Hartung
I was debugging a repository issue with a maven project, and noticed that the pom based repository was being mirrored by Maven Central. I found this section in my ~/.m2/settings.xml file: maven-central https://repo1.maven.org/maven2/ *,!eclipselink.repository,!jvnet-nexus-prom

Localization issue with MenuBar(DataFolder) + declarative action registrations

2020-12-16 Thread Jerome Lelasseux
Hi I use the menuBar(DataFolder) constructor to automatically build a MenuBar from actions registered in the layer.xml: menuBar = new MenuBar(DataFolder.findFolder(FileUtil.getConfigFile("MyMenuBar"))); And below is an example of the ImportMix action in the "MixFile" submenu: @ActionID(categor