Using Synthetica components

Swing Designer allows you to quickly create the frames, panels, dialogs, applets and other UI elements that comprise Java Swing applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Using Synthetica components

Postby afanti » Thu May 22, 2008 2:41 pm

Hello,

I use the Synthetica component library (http://www.javasoft.de/jsf/public/products/synthetica).
I am having problems using the components in Swing Designer. All of the ones I've tried break the parsing or yield a "Exception during creation of..." or similar.

Currently I'm looking at the DateComboBox (which has a zero argument constructor, and I believe is a valid bean (but I don't know how to be certain)).

In the hope someone can help me out. Here's a little bit of the log (can't figure out how to attach it).

!STACK 0
java.lang.IllegalArgumentException: Cannot format given Object as a Date
at java.text.DateFormat.format(Unknown Source)
at java.text.Format.format(Unknown Source)
at org.jdesktop.swingx.JXDatePickerFormatter.valueToString(JXDatePickerFormatter.java:133)
at javax.swing.JFormattedTextField$AbstractFormatter.install(Unknown Source)
at javax.swing.JFormattedTextField.setFormatter(Unknown Source)
at javax.swing.JFormattedTextField.setValue(Unknown Source)
at javax.swing.JFormattedTextField.setValue(Unknown Source)
at de.javasoft.plaf.synthetica.datecombobox.DateComboBoxEditor.setItem(DateComboBoxEditor.java:82)

Please let me know what I can do to bet to the point where I can use my favorite component set with my favorite GUI designer tool. Thank you.

Alex
afanti
 
Posts: 1
Joined: Thu May 22, 2008 2:01 pm

Re: Using Synthetica components

Postby Eric Clayberg » Sat May 24, 2008 7:30 am

The DateComboBox class was throwing an unexpected exceptiosn which was preventing the rest of the contents of the JFrame from painting. We had never seen a widget that did that. We added a work around to avoid that problem, so please try this again with the latest Swing Designer build.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to Swing Designer

Who is online

Users browsing this forum: No registered users and 1 guest