How to get all keys/values out of a Hashtable.

If you like to program in Java language, it is good to know there are a number of ways to get all keys/values out of a Hashtable.
Hashtable ht = new Hashtable();
ht.put(”one”,new Integer(1));
ht.put(”two”,new Integer(2));
Enumeration en = ht.elements();
[...]

Got the answer about the cell editor

I have tried many ways to solve the cell editor with popup dialog problem. like: use mouse event listener , ListSelection listener,Focus Listener ,extend a AbstractCellEditor,etc. but these don’t work. I post my question on the Sun forum. I got a similar sample.
Contrast to my prior work, I found I have use the syntax: myJTable.setCellEditor(new [...]