use of view.MeusProjetos in project specify by rhebecaabreu.
the class PhDCheckHeader method mouseClicked.
public void mouseClicked(MouseEvent e) {
if (mousePressed) {
mousePressed = false;
JTableHeader header = (JTableHeader) (e.getSource());
JTable tableView = header.getTable();
TableColumnModel columnModel = tableView.getColumnModel();
int viewColumn = columnModel.getColumnIndexAtX(e.getX());
int coluna = tableView.convertColumnIndexToModel(viewColumn);
MeusProjetos a = new MeusProjetos();
a.limpalista();
if (viewColumn == getColumn() && e.getClickCount() == 1 && coluna != -1) {
doClick();
a.limpalista();
}
}
((JTableHeader) e.getSource()).repaint();
}
Aggregations