Cloudgarden's Discussion Board
Forums: Search: Several forums are available for people to post questions/comments about Java Speech or any of the CloudGarden products. As more messages are posted this discussion board should provide a useful, searchable, support database.
o AliceTalker (42)
o JSAPI Projects (69)
o Java Speech API (857)
o Jigloo GUI Builder for Eclipse (3322)
o SwingScroller (0)
o US Election 2004 (3)
Searches text and subject fields in all forums. The search matches as many words as possible. Don't use "AND" or "OR".
Latest "Jigloo GUI Builder for Eclipse" Topics [ Start new "Jigloo GUI Builder for Eclipse" Topic  ]

Cloudgarden Discussion Board  
This topic has 0 replies.       [ << Previous Topic | Start of Thread | >> Next Topic ]
How do I add a custom class to a Jigloo form?
Author: Greg Steele
12/24/08 09:29 Reply
I downloaded a datepicker package containing (among others) a "JCalendarCombo" class that extends the Swing JComboBox. If I add a JComboBox to a form, then change the variable's type to "JCalendarCombo" in the source the form works fine but the Jigloo form editor gets very confused. What do I need to do to make Jigloo aware of the JCalendarCombo class so I can put it on forms? It should look just like a JComboBox. Below is what I've tried.

I made a jar file from the datepicker package and added the jar to the Window>Preferences>Java>UserLibraries. I also added the jar to Window>Preferences>Jigloo GUI Builder>Component Palette/Custom classes and selecting "Add beans from Archive". The classes from the package (including JCalendarCombo) now show up under the "Custom" entry.

When I try to add a JCalendarCombo to a form using the "Add custom class or layout..." from the Custom tab in Jigloo, I get a message saying that Jigloo couln't find the class.

I've looked in the FAQ and read the help files and done lots of Googling, but can't find anything about adding a custom visual class to Jigloo. I did look at the Flowerbox example for a few minutes, but the GUI editor looks strange there too and I haven't been able to figure out how it really works yet.

Any tips you can give me would be really helpful.

Thanks.