NetBeans icon patch

I had a problem with the NetBeans application icon looking terrible in my KDE Plasma Task Manager widget.

Before applying my patch
Before applying my patch.

I edited the platform/core.windows/src/org/netbeans/core/windows/view/ui/MainWindow.java file to remove low resolution icons from the initFrameIcons() function:

   static void initFrameIcons(Frame f) {
       List currentIcons = f.getIconImages();
       if( !currentIcons.isEmpty() )
           return; //do not override icons if they have been already provided elsewhere (JDev)
       f.setIconImages(Arrays.asList(
               // 2020-01-09 jj5 - OLD: removed low resolution icons...
               //ImageUtilities.loadImage(ICON_16, true),
               //ImageUtilities.loadImage(ICON_32, true),
               //ImageUtilities.loadImage(ICON_48, true),
               // 2020-01-09 jj5 - END
               ImageUtilities.loadImage(ICON_256, true),
               ImageUtilities.loadImage(ICON_512, true),
               ImageUtilities.loadImage(ICON_1024, true)));
   }

...and that fixed my issue.

After applying my patch
After applying my patch.