How do I add a different JComboBox to each JTree node?
问题 I have a JTree that I'm filling with skills for a Game Database programme that I'm writing. There are several categories, and subcategories (actual skills), and then levels skill below that (sometimes). Currently I'm emulating this with one skill class, some options inside, and a few enums, plus a method to check that if the skill is a category (called isCategory). Two other things to note: Different types of skill behave differently. Some are bought once, other several times, some have