private void adjust_clearance_table(){
  clearance_table_model=new WinClearanceTableModel(board_frame.board_panel.itera_board,layer_combo_box);
  clearance_table=new JTable(clearance_table_model);
  main_panel.remove(center_panel);
  center_panel=add_clearance_table(board_frame);
  main_panel.add(center_panel,java.awt.BorderLayout.CENTER);
  pack();
  board_frame.refresh_windows();
}

private void adjust_clearance_table ( ) { clearance_table_model = new WinClearanceTableModel ( board_frame . board_panel . itera_board , layer_combo_box ) ; clearance_table = new JTable ( clearance_table_model ) ; main_panel . remove ( center_panel ) ; center_panel = add_clearance_table ( board_frame ) ; main_panel . add ( center_panel , java . awt . BorderLayout . CENTER ) ; pack ( ) ; board_frame . refresh_windows ( ) ; }
adjusts the displayed window with the clearance table after the size of the clearance matrix has changed .
