[Schmitzm-commits] r2101 - trunk/schmitzm-core/src/main/java/de/schmitzm/swing

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Fri Oct 5 15:02:12 CEST 2012


Author: mojays
Date: 2012-10-05 15:02:12 +0200 (Fri, 05 Oct 2012)
New Revision: 2101

Modified:
   trunk/schmitzm-core/src/main/java/de/schmitzm/swing/EditableComboBox.java
Log:
EditableComboBox: parameterization <E> for super class JComboBox removed (not yet available in JDK 1.6)

Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/swing/EditableComboBox.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/swing/EditableComboBox.java	2012-10-05 12:52:41 UTC (rev 2100)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/swing/EditableComboBox.java	2012-10-05 13:02:12 UTC (rev 2101)
@@ -49,7 +49,8 @@
  * property is reset to {@code false}.
  * @author Martin O.J. Schmitz
  */
-public class EditableComboBox<E> extends JComboBox<E> implements KeyListener, FocusListener {
+public class EditableComboBox<E> extends JComboBox implements KeyListener, FocusListener {
+//JDK 1.7: public class EditableComboBox<E> extends JComboBox<E> implements KeyListener, FocusListener {
 
   /** Flag indicates whether text input is automatically marked on fucus gain. */
   protected boolean autoSelectOnFocus = true;



More information about the Schmitzm-commits mailing list