posted 14 years ago
Hi, I want to be able to set the Document for the JTextField that show up when you set a JComboBos.setEditable(true). I try to do this but the only way that I found and did it was extending the javax.swing.plaf.metal.MetalComboBoxEditor and setting the document on the protected field editor. Do someone knows if there is a better way to do this? perphaps taking the implementation from javax.swing.plaf.basic.BasicComboBoxEditor and create my own class. I just don't want the reinvent the wheel.