Posted Sunday, October 28, 2007 @ 22:37:44
we use quicktable as applet , the problem is we had lots of columns ,about 50 .
we want change the width, such as it can full of the page, we try :
public void init(){
this.setSize(iwidth, iheight);
JPanel jp = new JPanel();
jp.setSize(iwidth, iheight);
jp.setVisible(true);
jp.setLayout( new FlowLayout());
this.add(jp);
dbTable.setSize(iwidth, iheight);
jp.add(dbTable);
}
whatever we change the iwidth, iheight, the default size of quickable was the same.
thanks and waitting for your help.