1. fill table with cells java-forums.orgHi, I'd like to fill whole scroll pane (viewport of table) with grid. 1) how can I get width of scroll pane? (The dimension of scroll pane is (0, 0) (when I call pane.getSize()). When I'd know width of scroll pane, I could calculate widths of columns.) 2) is possible to fill whole height of viewport with grid? Thank you :) ... |
2. How to fill a JTable cell forums.oracle.comHi, I need to fill some cells in a JTable. I've tried in this way: public void coloraCella(final int righe[],final int colonne[]){ for (int i=0;i |