mgarin / weblaf

WebLaF is a fully open-source Look & Feel and component library written in pure Java for cross-platform desktop Swing applications.
http://weblookandfeel.com
GNU General Public License v3.0
1.13k stars 234 forks source link

Integration with NetBeans GUI Designer / Issues #708

Open 4verage opened 7 months ago

4verage commented 7 months ago

Hello! I'm working on a new branch off of UniCenta oPOS. The code was written in Netbeans and uses WebLAF heavily throughout the project. All of the forms were designed in the integral NetBeans GUI designer and I cannot edit them in anything else.

However, when attempting to open any form with WebLAF components already added, it errors out and will not let me edit.

For instance, on the launch screen form I receive: Error in loading component: [JPanel] -> m_jPanelDown -> panelTask -> webMemoryBar1 Cannot create instance of com.alee.extended.statusbar.WebMemoryBar. The component cannot be loaded.

The Exception shows:

com.thoughtworks.xstream.converters.ConversionException: Included skin file "resources/label.xml" cannot be read! : Included skin file "resources/label.xml" cannot be read!

This is getting thrown from com.alee.managers.style.data.SkinInfo

I have confirmed that the label.xml file exists. I can open it fine from any text editor.

Is there a known issue/fix with this? It is very apparent that the developer was able to create their forms in Netbeans with these components. I feel like I am probably missing something very obvious. Any help you could provide would be wonderful! Thank you!