Parent Directory | Revision Log | Patch
revision 1.9 by rabbit78, Mon Oct 17 13:35:59 2005 UTC | revision 1.10 by rabbit78, Mon Oct 17 15:22:50 2005 UTC | |
---|---|---|
# | Line 912 public class BasicComboPopup extends JPo | Line 912 public class BasicComboPopup extends JPo |
912 | ||
913 | public void mouseReleased(MouseEvent anEvent) | public void mouseReleased(MouseEvent anEvent) |
914 | { | { |
915 | updateListBoxSelectionForEvent(anEvent, false); | int index = list.locationToIndex(anEvent.getPoint()); |
916 | // Check for valid index. | |
917 | if (index >= 0) | |
918 | comboBox.setSelectedIndex(index); | |
919 | hide(); | hide(); |
920 | } | } |
921 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |