craftleft.gif (3002 bytes)QuickTable
Home | API | Tutorial | Download | Support | Contact topblack.gif (108 bytes)


QuickTable User Cp  |  Register  |  Members  |  Search  |  Help
    |- QuickTable Discussion Forums > Applet Issues Post New Topic   Post A Reply
The dbtable's size in applet printer friendly version
next newest post | next oldest post
Author Messages
eseking
Private

Gender: Unspecified
Location:
Registered: Sep 2007
Status: Offline
Posts: 8

Click here to see the profile for eseking Send email to eseking Send private message to eseking Find more posts by eseking Edit or delete this message Reply w/Quote
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.

Admin
Board Owner

Gender: Unspecified
Location:
Registered: Jul 2003
Status: Offline
Posts: 9

Click here to see the profile for Admin Send email to Admin Send private message to Admin Find more posts by Admin Edit or delete this message Reply w/Quote
Posted Monday, October 29, 2007 @ 21:39:13  

use borderlayout for panel and add quicktable to center of border layout, no need to setSize to quicktable. Also add the panel to applet in center of border layout.
eseking
Private

Gender: Unspecified
Location:
Registered: Sep 2007
Status: Offline
Posts: 8

Click here to see the profile for eseking Send email to eseking Send private message to eseking Find more posts by eseking Edit or delete this message Reply w/Quote
Posted Tuesday, October 30, 2007 @ 20:13:38  

thanks you very much.

it's OK ~~~ LOL :)

Post New Topic   Post A Reply Jump to:
Contact Us | QuickTable - A Java DBGrid | Privacy Policy All times are GMT -5 Hours.
Welcome to QuickTable Forums, Guest!  
Login
Username :
Password :
In order to fully utilize the abilities of this board, you are required to register as a member. Registration is free, and allows you to do lots of things including turning on or off certain features of this board. Register now!
Powered by CuteCast v2.0 BETA 2
Copyright © 2001-2003 ArtsCore Studios