Vaadin plugin

2022-08-31 Thread Greenberg, Gary
I wanted to make some changes to my old project that was created few years ago on NB 8.2 with Vaadin plugin. Now I am using NB 14.0 and 8.2 was uninstalled a while ago. However, I can't find Vaadin in the list of available plugins. I ran a search on https://plugins.netbeans.apache.org but found no

Re: Warnings in pom.xml files of a multi-module project

2022-08-31 Thread Mark Eggers
The warning does not appear when the project is opened in either NetBeans 12.6 or 13 when running under JDK 11 on Windows 10 Professional. It does appear when running NetBeans 14 or 15 (vc) when running on either JDK 11 or JDK 17. I guess I should write up how to reproduce the issue and file

SharedSecrets

2022-08-31 Thread Ronald Herman
I recently updated my Netbeans to version 14 in hopes that it would solve a problem on my raspberry pi 4 with open-idk version 11 related to QWIC/I2C. I got the missing SharedSecrets thing. While I have seen numerous postings regarding this problem I don’t think I’ve seen any definitive solution

Re: Remove old LAFs from application and use new default LAF instead

2022-08-31 Thread Mike Hallan
Neil, thank you, that is much better! For some reason, I didn't realize that just setting the LAF in NbPreferences is all that was required. As for filtering, in validate() I just call UIManager.setInstalledLookAndFeels(flatLafs) where UIManager.LookAndFeelInfo[] flatLafs contains just the 2 Fl

Re: Remove old LAFs from application and use new default LAF instead

2022-08-31 Thread Neil C Smith
On Wed, 31 Aug 2022 at 14:28, Mike Hallan wrote: > I found that Installer's validate() may not return the correct LAF that will > actually be used. No, it won't. It'll run before NetBeans sets up the look and feel. Which is actually what you want. I suggested you look at filtering the install

Re: Remove old LAFs from application and use new default LAF instead

2022-08-31 Thread Mike Hallan
Thanks Neil, I have the FlatLaf modules already installed when compiled. I found that Installer's validate() may not return the correct LAF that will actually be used. i.e. In validate(), UIManager.getLookAndFeel() may return Metal and then go on to a later stage where it will actually become W

Re: Remove old LAFs from application and use new default LAF instead

2022-08-31 Thread Neil C Smith
On Wed, 31 Aug 2022 at 12:30, Mike Hallan wrote: > Sounds like there is no simple or non-brittle way to do this. Thanks anyway. You might also look at configuring the installed look and feels - https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/UIManager.html#setInstalled

Re: Remove old LAFs from application and use new default LAF instead

2022-08-31 Thread Mike Hallan
Sounds like there is no simple or non-brittle way to do this. Thanks anyway. On Tuesday, August 30, 2022 at 04:56:10 AM GMT+3, Laszlo Kishalmi wrote: Right now we are using all installed LaF-s to display in the combo box. You might create an SPI PR for a filtering interface. It's in