This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.
Joined: Oct 20, 2003
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).