Re: Duplicate Entry in the ListBox

2022-01-13 Thread Zulfi Khan
Hi Peter Van den hombergh,I added model.clear in : private void btnDispAllActionPerformed(java.awt.event.ActionEvent evt) {         // TODO add your handling code here:     model.clear();     model.addElement(" " + acc1.getBalance() + " " +

Re:Re: Netbeans IDE 12.6/JavaFX 17/Java 11

2022-01-13 Thread 王东华
I have added javafx-graphics jar into the wrapper jars. In fact, only Netbeans Platform Application will throw this runtime exception. The JavaFX is correct for Ant Java Application of Netbeans. And in Eclipse, it is ok when I add vm parameters: --module-path "lib/javafx\lib" --add-modules

Re: Blank Terminal window on M1 Mac with Netbeans 12.5

2022-01-13 Thread David Green
I used the MacOSX installer. I do see the files in the /Applications/NetBeans/Apache\ NetBeans\ 12.6.app/Contents/Resources/NetBeans/netbeans/ide/bin/nativeexecution and also don’t have any arm/m1 arch files. There is also a hosting.sh file there which also does not have any ARM info/logic. I

Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Michael Bien
this is fixing it as far as i can tell: https://github.com/apache/netbeans/pull/3455 since you are good at finding bugs (:-)) - maybe you could give it a try -michael On 13.01.22 23:01, Thomas Wolf wrote: Done: https://issues.apache.org/jira/browse/NETBEANS-6388 Tom On Jan 13, 2022 at

Re: Blank Terminal window on M1 Mac with Netbeans 12.5

2022-01-13 Thread Tim Mullé
I did more searching in my netbeans installation folder and found the list of files the Terminal was looking for, but I noticed that there is no ARM or AARCH files mentioned for any OS. My `uname -a` reports: Darwin mars.fios-router.home 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:41

unsubscribe

2022-01-13 Thread Louis King
Lou Say what you will about Sisyphus. He always has work. - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the

Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Thomas Wolf
Just looking briefly at the Project->Inspect and Transform and the Source->Inspect… the main difference I see is that the latter allows the scope to be “Current Folder” - which the former doesn’t have. So it doesn’t look like one is a strict superset of the other. tom On Jan 13, 2022 at

Re: Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Thomas Wolf
Yes, " Project->Inspect and Transform” seems to work. Tom On Jan 13, 2022 at 5:03:52 PM, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > Can you try the other one and see if it does what you need? > > Gj > > On Thu, 13 Jan 2022 at 23:01, Thomas Wolf wrote: > >> Done: >>

Re: Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Geertjan Wielenga
Can you try the other one and see if it does what you need? Gj On Thu, 13 Jan 2022 at 23:01, Thomas Wolf wrote: > Done: > https://issues.apache.org/jira/browse/NETBEANS-6388 > > Tom > > > On Jan 13, 2022 at 4:23:06 PM, Geertjan Wielenga < > geertjan.wiele...@googlemail.com> wrote: > >> Can you

Re: Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Thomas Wolf
Done: https://issues.apache.org/jira/browse/NETBEANS-6388 Tom On Jan 13, 2022 at 4:23:06 PM, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > Can you report it with steps, would be happy to try to reproduce it. And I > think we need to remove all FindBugs support since it's

Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Geertjan Wielenga
If the one does similar plus more and works. maybe we should simply hide the other. Gj On Thu, 13 Jan 2022 at 22:34, Michael Bien wrote: > ah interesting i can reproduce it too. > > try using refactor -> "inspect and transform" instead. It has similar > functionality + it can refactor after

Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Michael Bien
ah interesting i can reproduce it too. try using refactor -> "inspect and transform" instead. It has similar functionality + it can refactor after inspection. Don't know why inspect behaves differently. Inspect and transform uses jackpot, while "inspect" can use other plugins too - there

Re: Blank Terminal window on M1 Mac with Netbeans 12.5

2022-01-13 Thread Malcolm Fitzgerald
Has anyone picked up on Emilian's idea and checked the settings for Full Disk Access and for Files and Folders in System Preferences -> Security and Privacy -> Privacy? There may be a terminal icon labelled "java" that is waiting to be checked. Malcolm Tim Mullé wrote on 14/01/22 8:44

Re: Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Geertjan Wielenga
Can you report it with steps, would be happy to try to reproduce it. And I think we need to remove all FindBugs support since it's broken and no longer supported. Something that looks like a big 'ole bug is welcome to be turned into an issue. Gj On Thu, Jan 13, 2022 at 10:16 PM Thomas Wolf

RE: Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Thomas Wolf
Hi Michael, All my projects use “IDE-wide” in the project property hints as that seems to be the default. The problem I’m having isn’t that Netbeans can’t find “Netbeans Java Hints”. The problem is that when I try to define a configuration via the Source-Inspect… dialog, it lets me define it

RE: Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Michael Bien
Hi Tom, "NetBeans Java Hints" should be there out of the box. Its the same system which is responsible for the in-editor hints. Difficult to say what is going on there. But in general: There are two configs, one is global which is applied to all projects by default, and the per-project

Re: Blank Terminal window on M1 Mac with Netbeans 12.5

2022-01-13 Thread Tim Mullé
I too am running an M1 Pro Mac with Monterey I’m using 17.0.1-tem java install from SDKMAN and I’ve tried 11.0.13-zulu and same issue. I don’t see java in my Files and Folders privacy > On Jan 13, 2022, at 2:41 PM, Tim Mullé wrote: > > Sadly, that didn’t fix it for me. I do have Xcode and

Re: Blank Terminal window on M1 Mac with Netbeans 12.5

2022-01-13 Thread Tim Mullé
Sadly, that didn’t fix it for me. I do have Xcode and the command line tools installed as well. I just deleted my /Library/Application Support/NetBeans folder and restarted Netbeans and I still get the same error posted below. Oddly, the REMOTE terminal works and I connected to another machine

Re: JavaFX warning when building NB RCP with Maven

2022-01-13 Thread Geertjan Wielenga
Or use an OpenJDK distro where that is true? Gj On Thu, Jan 13, 2022 at 6:46 PM Jean-Marc Borer wrote: > I checked the content of the manifest file of module > org-netbeans-libs-javafx.jar > > And actually I found: > > OpenIDE-Module-Requires: org.openide.modules.ModuleFormat1 >

Re: JavaFX warning when building NB RCP with Maven

2022-01-13 Thread Jean-Marc Borer
I checked the content of the manifest file of module org-netbeans-libs-javafx.jar And actually I found: OpenIDE-Module-Requires: org.openide.modules.ModuleFormat1 Class-Path: %24%7Bjava.home%7D/lib/ext/jfxrt.jar Is this sequence someting that is expected? The Maven build seems to have

Re: JavaFX warning when building NB RCP with Maven

2022-01-13 Thread Jean-Marc Borer
zulu8.58.0.13-ca-fx-jdk8.0.312-win_x64\jre\lib\ext where jfxrt.jar exists... and JFX works in the application later. Just wondering why such warning is generated. On Thu, Jan 13, 2022 at 5:35 PM Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > Probably lib/ext/jfxrt.jar does not

Re: Blank Terminal window on M1 Mac with Netbeans 12.5

2022-01-13 Thread Jean-Marc Borer
I was facing kind of the same issue with the remote terminal. Unfortunately, Terminal tries to execute some kind of "injected" code that gets blocked by our RHEL 8.4 servers. It was working on CentOS 6. On Thu, Jan 13, 2022 at 3:45 PM Tim Mullé wrote: > Any ideas on how to fix or troubleshoot

Re: JavaFX warning when building NB RCP with Maven

2022-01-13 Thread Geertjan Wielenga
Probably lib/ext/jfxrt.jar does not exist? Which JDK is it that you are using? Gj On Thu, Jan 13, 2022 at 6:32 PM Jean-Marc Borer wrote: > Hello, > > Does anyone know how to fix this warning when I build my RCP app? > > Could not resolve Class-Path item in >

JavaFX warning when building NB RCP with Maven

2022-01-13 Thread Jean-Marc Borer
Hello, Does anyone know how to fix this warning when I build my RCP app? Could not resolve Class-Path item in org.netbeans.api:org-netbeans-libs-javafx:nbm-file:RELEASE124, path is:%24%7Bjava.home%7D/lib/ext/jfxrt.jar, skipping Regards

Re: Blank Terminal window on M1 Mac with Netbeans 12.5

2022-01-13 Thread Tim Mullé
Any ideas on how to fix or troubleshoot this? This happens on both 12.5 and 12.6 with JDK11 and JDK17 on my M1 Mac > On Dec 14, 2021, at 2:50 PM, Tim Mullé wrote: > > Still having this issue with 12.5 and 12.6 on M1 Mac. > > The error that briefly flashes in the terminal window is: > >

Re: How to run/debug Integration Test class from contextual menu?

2022-01-13 Thread Arnaud bourree
Again thanks you William I said that custom action cannot provide workaround : that's false Here is workaround to run all tests from on integration test class: 1. right click in editor of you integration test file 2. select "Run Maven >" then "Goals..." 3. as Goals, enter

Re: Duplicate Entry in the ListBox

2022-01-13 Thread Pieter van den Hombergh
Zulfi, That is because you add the items every time when the display all accounts buttons is pressed. A list has now problems containing duplicate accounts, so expect no help from the list. You might want to update the model only when needed, not on each display. On Thu, Jan 13, 2022 at 3:33 AM

Re: How to run/debug Integration Test class from contextual menu?

2022-01-13 Thread Arnaud bourree
Thank you William. I never use Gradle, I suppose you are right. With Maven's project, we can also add custom actions,That could be a good workaround. But actions are not contextual actions such as "Test File" or "Run Focused Test Method", they work at project level not file level, or I don't

Re: Netbeans IDE 12.6/JavaFX 17/Java 11

2022-01-13 Thread Mark Eggers
First of all, when I do development it's for Java EE web containers. Second of all, I use Maven, so if you're using Ant or Gradle I will have even less of a clue. That being said, I did a quick search for: Error initializing QuantumRenderer: no suitable pipeline found a StackOverflow

Re:Netbeans IDE 12.6/JavaFX 17/Java 11

2022-01-13 Thread 王东华
Exception in message.log: Graphics Device initialization failed for : d3d, sw Error initializing QuantumRenderer: no suitable pipeline found java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found at

Netbeans IDE 12.6/JavaFX 17/Java 11

2022-01-13 Thread 王东华
Dear, Our development environment: Netbeans IDE 12.6, JavaFX 17, Java 11 I have create a Netbeans Platform Application and want to use JavaFX, I have add JavaFX jar into the wrapped jars, and there are no compile error for JavaFX in Netbeans IDE, However, when I run the application, IDE will show