|
|
|
@ -152,32 +152,7 @@ class FormulaAutoCompletePopupWindow extends JWindow implements CaretListener,
|
|
|
|
|
|
|
|
|
|
list.setCellRenderer(new DelegatingCellRenderer()); |
|
|
|
|
list.addListSelectionListener(this); |
|
|
|
|
list.addMouseListener(new MouseListener() { |
|
|
|
|
@Override |
|
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void mousePressed(MouseEvent e) { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void mouseReleased(MouseEvent e) { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void mouseEntered(MouseEvent e) { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void mouseExited(MouseEvent e) { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
list.addMouseListener(this); |
|
|
|
|
|
|
|
|
|
JPanel contentPane = new JPanel(new BorderLayout()); |
|
|
|
|
JScrollPane sp = new JScrollPane(list, |
|
|
|
|