Search:

Type: Posts; User: renars

Search: Search took 0.09 seconds.

  1. Re: change JTable column name, gui does not update at once

    thanks, copeg! your solution worked but it recreated all table from model which contained old data so I had to change approach. now I use model.setColumnIdentifiers(columnNames) each time I need to...
  2. change JTable column name, gui does not update at once

    I use following code to change column name:

    public void ChangeName(JTable table, int col_index, String col_name){
    table.getColumnModel().getColumn(col_index).setHeaderValue(col_name);
    }...
Results 1 to 2 of 2