I'd like some hints on how to address the following 2 issues (not the solution, I'd like to find that myself)
how to create and maintain a JTable of which the number of columns and their widths is variable and configurable at runtime by the user. I tried already some things and manage to do this on creation of the form (with tablemodel) but I prefer to be able to do this also when the form is already displayed.
once that's out of the way, I want to have a JPanel on top of the table with JTextFields that mimics the table's columns. I've not found a layout that permits me to create the textfields with different widths and on the correct positions... although FlowLayout seemed to be most promising. Again, if table layout changes the textfields should change as well.