addressCombo.addMouseListener(new MouseAdapter() {
public void mouseDown(MouseEvent evt) {
System.out.println("addressCombo.mouseDown, event="+evt);
//TODO add your code for addressCombo.mouseDown
if (marker)
addressCombo.setSelection(new Point (0,addressCombo.getTextLimit()-1));
marker = false;
}
});
addressCombo.addFocusListener(new FocusAdapter() {
public void focusGained(FocusEvent evt) {
System.out.println("addressCombo.focusGained, event="+evt);
//TODO add your code for addressCombo.focusGained
addressCombo.setSelection(new Point (0,addressCombo.getTextLimit()-1));
marker = true;
}
});