Metawidget update
Fixed so that the JTabbedPane with the lists of the domain objects is aligned correctly by modifying the TableGroupLayout.
Using the classes in NetBeans 6.0 RCP application but I needed to changed the classes that load the Metawidget XML configuration to not validate the schema or I get a error.
SEVERE [org.metawidget.inspector.ConfigReader]: Unable to parse config
java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
at javax.xml.parsers.DocumentBuilderFactory.setSchema(DocumentBuilderFactory.java:561)
at org.metawidget.inspector.impl.AbstractXmlInspector.<init>(AbstractXmlInspector.java:149)
Caused: org.metawidget.inspector.InspectorException
1 comment:
Mark,
Thanks for blogging about Metawidget.
v0.35 is now available, with the support for JTabbedPane you asked for.
Please download it and let me know how you go.
Richard.
P.S. I notice you changed 'SwingMetawidget.buildWidgets' from 'protected' to 'public' - hopefully we can find the 'right' place to trigger this automatically in NetBeans RCP.
In the meantime, you can trigger it yourself with a dummy call to 'SwingMetawidget.getValue' or something. Ideally this means you can use the metawidget.jar as is, without having to unpack it and modify the source (though I applaud your perseverance in doing that!)
Post a Comment