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 15 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).