I have a simple JTable whom i give Vectors as cols, and rows.
I have a Container con = getContentPane(); // JFrame container
I have a JPanel panel = new JPanel();
i add the JTable to the panel as: panel.add(new JScrollPane(table));
this panel is the add to the container as con.add(panel, BorderLayout.CENTER);
i then pack() the JFrame and show() it.
Every thing looks good, there is the ScrollBar too. However when I resize the JFrame to a smaller size, the scrollBars also resize.
The screen shot is located here of the problem i mean: