posted 7 years ago
I am using a JTree in my GUI. In the data model there are four types of leaf nodes - text, numeric, date/time and enumeration. I want to have a simple text field editor for the text and numeric, a JSpinner widget for date/time editing and JComboBox for enumerations. I see tons of examples where one editor type is specified. Can I specify three different editor classes for a JTree?
Any ideas on this are greatly appreciated,
Ken