Iam not sure I understood your question. Are you trying to find out index of the element or a element at a index in JComboBox?
Programming is Fun.
posted 16 years ago
The methods e.getX() and e.getY() give me the current mouse position. The method getRowForLocation(...) or rowAtLocation(...) give me the index of the row that the mouse cursor is over (not the selected row).
Popeye has his spinach. I have this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop