Click « JComboBox « Java Swing Q&A





1. Click on JComponent and get the character I clicked on    stackoverflow.com

I'm trying to make a JComponent, specifically a subclass of JComboBox, which when clicked will return the character (actually more importantly its position) in the displayed string. The full details are that ...

2. JComboBox displays incorrect year before clicking on it    java-forums.org

JComboBox displays incorrect year before clicking on it Hi! I've got the strange problem with JComboBox, cause it displays an incorrect year (avg. once per 3 calendar loading) before you click it. If i remove "refreshCalendar" from the last code line than the problem disappears but cannot change year by combo. Thanks in advance for any kind of advice. ...