MXandresMX opened a new issue, #5063:
URL: https://github.com/apache/netbeans/issues/5063

   ### Apache NetBeans version
   
   Apache NetBeans 16
   
   ### What happened
   
   If we use Netbeans 16 with JDK 1.8 we can use custom components with custom 
icons in the pallete. See above for example
   
   
   ![alt 
text](https://raw.githubusercontent.com/MXandresMX/Netbeansprlem/main/1.png)
   
   ![alt 
text](https://raw.githubusercontent.com/MXandresMX/Netbeansprlem/main/2.png)
   
   Now if we install netbeans with Java 19 for example this corrupt the icons 
in the palette.
   
   ![alt 
text](https://raw.githubusercontent.com/MXandresMX/Netbeansprlem/main/4.png)
   ![alt 
text](https://raw.githubusercontent.com/MXandresMX/Netbeansprlem/main/3.png)
   
   ### How to reproduce
   
   Try to use a custom JPanel for example.
   1.- Create a Extended class of JPanel
   2.- Create BeanInfo 
   3.- Replace icons  x16 and x32
   4.- Compile the jar
   5.- Import it again with the Palette Manager
   6.- Select the Custom panel 
   7.- Not show the icon in the palette Manager.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 11 x64
   
   ### JDK
   
   19
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   Yes
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to