posted 17 years ago
i have six Jlists in parallel in a gridlayout panel
centerPanel2.setLayout(new GridLayout(1, 0, 24, 0));
centerPanel2.add(jScrollPane0, 0);
centerPanel2.add(jScrollPane1, 1);
centerPanel2.add(jScrollPane2, 2);
centerPanel2.add(jScrollPane3, 3);
centerPanel2.add(jScrollPane4, 4);
centerPanel2.add(jScrollPane5, 5);
all six of them ar equall in width
is there a way to change the width of each list.
i am using the defaultlistmodel for the jlists