I am using a custom JComboBox as a cell editor in a JTable. When the users gets to the cell using keyboard controls it tries to open the popup. This causes the following e
If you embed your instruction inside a try .. catch instruction , your program will run without problems:
SwingUtilities.invokeLater(new Runnable(){
public void run()
{
try {
tInput.putClientProperty("JComboBox.isTableCellEditor", Boolean.TRUE);
tInput.showPopup();
}
catch (IllegalComponentStateException e) {
return;
}
}
});