|
|
@ -152,32 +152,7 @@ class FormulaAutoCompletePopupWindow extends JWindow implements CaretListener, |
|
|
|
|
|
|
|
|
|
|
|
list.setCellRenderer(new DelegatingCellRenderer()); |
|
|
|
list.setCellRenderer(new DelegatingCellRenderer()); |
|
|
|
list.addListSelectionListener(this); |
|
|
|
list.addListSelectionListener(this); |
|
|
|
list.addMouseListener(new MouseListener() { |
|
|
|
list.addMouseListener(this); |
|
|
|
@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) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JPanel contentPane = new JPanel(new BorderLayout()); |
|
|
|
JPanel contentPane = new JPanel(new BorderLayout()); |
|
|
|
JScrollPane sp = new JScrollPane(list, |
|
|
|
JScrollPane sp = new JScrollPane(list, |
|
|
|