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. |