Skip to content

Commit

Permalink
PlayerOverviewTable remove old code (comments)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsbrenk committed Nov 2, 2024
1 parent 14fb797 commit 80e5b88
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/main/java/module/playerOverview/PlayerOverviewTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public PlayerOverviewTable() {
tableModel.setValues(HOVerwaltung.instance().getModel().getCurrentPlayers());
tableModel.initTable(this);
setOpaque(false);
// setDefaultRenderer(Object.class, new HODefaultTableCellRenderer());
RefreshManager.instance().registerRefreshable(this);

// Add a mouse listener that, when clicking on the “Last match” column
Expand Down Expand Up @@ -78,14 +77,6 @@ public void mouseReleased(MouseEvent e) {
});
}

// public int columnAtPoint(@NotNull Point point) {
// var ret = super.columnAtPoint(point);
// if (ret > -1){
// return ret + getFixedColumnsCount();
// }
// return this.getFixedTable().columnAtPoint(point);
// }

public Player getSelectedPlayer(){
var rowIndex = getSelectedRow();
if (rowIndex >= 0) {
Expand Down

0 comments on commit 80e5b88

Please sign in to comment.