Hashtable<String, Integer> coordinates= new Hashtable<String, Integer>();
String value = (String) cb1.getSelectedItem();
if(value==coordinates.keys())
It gives me a "imcompatible operand types String and Enumeration" error, any idea how I can compare these two without a loop?