break; } default: break; } downloadTable.updateUI();
break; } default: break;
            public void mousePressed(MouseEvent e) {              int col = header.columnAtPoint(e.getPoint());              renderer.setPressedColumn(col);              renderer.setSelectedColumn(col);              header.repaint();              if (header.getTable().isEditing()) {                header.getTable().getCellEditor().stopCellEditing();              }              boolean isAscent;              if (SortButtonRenderer.UP == renderer.getState(col)) {                isAscent = true;              }              else {                isAscent = false;              }              DownloadRootNode rootNode = ((DownloadRootNode)downloadModel.getRoot());              switch(col){                  case 0:{                        rootNode.setSortCriteria(DownloadRootNode.SORT_DOWNLOADNAME, isAscent);                      break;                  }                  case 2:{                        rootNode.setSortCriteria(DownloadRootNode.SORT_GROESSE, isAscent);                      break;                  }                  case 3:{                        rootNode.setSortCriteria(DownloadRootNode.SORT_BEREITS_GELADEN, isAscent);                      break;                  }                  case 4:{                         rootNode.setSortCriteria(DownloadRootNode.SORT_GESCHWINDIGKEIT, isAscent);                       break;                   }                   case 5:{                        rootNode.setSortCriteria(DownloadRootNode.SORT_RESTZEIT, isAscent);                      break;                  }                  case 6:{                        rootNode.setSortCriteria(DownloadRootNode.SORT_PROZENT, isAscent);                      break;                  }                  case 7:{                        rootNode.setSortCriteria(DownloadRootNode.SORT_REST_ZU_LADEN, isAscent);                      break;                  }                  case 8:{                        rootNode.setSortCriteria(DownloadRootNode.SORT_PWDL, isAscent);                      break;                  }                  default:                      break;              }              downloadTable.updateUI();            }