阅读背景:

禁用后仍可从JComboBox中选择

来源:互联网 

Im having problems setting up a JComboBox. The user is given a few options on a separte panel which determine if a JComboBox should be enabled/disabled - the problem I have is that the user can still select from the JComboBox even when it is disabled (It's disabled as the combobox is greyed out)! The JComboBox uses a custom TableCellRenderer and custom DefaultCellEditor. Also the JComboBox is a cell/column in a row of a JTable.Im having problems setting up a JComboBox. The




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: