The SWING frame work that i am using is working fine with jre1.6.When i try to run it through jre1.7 getting the below exception .
java.lang.ClassCastException:
javax.swing.KeyStroke cannot be cast to
java.lang.Comparable
at java.util.TreeMap.compare(Unknown Source)
at java.util.TreeMap.put(Unknown Source)
at java.util.TreeSet.add(Unknown Source)
Can any one help to reslove this ..