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...
Type: Posts; User: renars
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...
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);
}...
thank you very much, cloning did work.. :)
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...