Search:

Type: Posts; User: renars

Search: Search took 0.10 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);
    }...
  3. Thread: Array sorting

    by renars
    Replies
    4
    Views
    1,687

    Re: Array sorting

    thank you very much, cloning did work.. :)
  4. Thread: Array sorting

    by renars
    Replies
    4
    Views
    1,687

    Array sorting

    int array1[] = previouslyDefinedArray;
    Arrays.sort(array1);

    is this suppose to make changes also in previouslyDefinedArray? somehow it does in my project..
    i want previouslyDefinedArray to be...
Results 1 to 4 of 4