1011121314151617
@Override public void mouseMoved(MouseEvent e) { JTable aTable = (JTable) e.getSource(); MouseHoverTable.itsRow = aTable.rowAtPoint(e.getPoint()); MouseHoverTable.itsColumn = aTable.columnAtPoint(e.getPoint()); aTable.repaint(); } }
568569570571572573574575576577578
if (column == StyleConstants.BG_COLUMN) entry.setBackground(newColor); else entry.setForeground(newColor); tbl.repaint(); } }; final JDialog dialog = JColorChooser.createDialog(button, "Pick a Color", true, colorChooser, okListener, null);
211212213214215216217218219220221
return; } if (jt.getSelectedColumn() == 0) { parameterTableModel.openParam(jt.getSelectedRow()); } jt.repaint(); } }); if (showComboBox) { add(paramSelection, BorderLayout.NORTH);
567568569570571572573574575576577