disabled the helper method on JCheckBox as this either compiles or not depending on if JDK6/7 and whether a type argument must or must not be specified
This commit is contained in:
@@ -56,9 +56,12 @@ inline fun DefaultButtonModel.addActionListener(fn: (ActionEvent) -> Unit): Unit
|
||||
addActionListener(actionListener(fn))
|
||||
}
|
||||
|
||||
/*
|
||||
TODO depending on the JDK this may or may not compile with or without the type argument
|
||||
inline fun JComboBox<*>.addActionListener(fn: (ActionEvent) -> Unit): Unit {
|
||||
addActionListener(actionListener(fn))
|
||||
}
|
||||
*/
|
||||
|
||||
inline fun JFileChooser.addActionListener(fn: (ActionEvent) -> Unit): Unit {
|
||||
addActionListener(actionListener(fn))
|
||||
|
||||
Reference in New Issue
Block a user