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
DBTable not visible printer friendly version
next oldest post
Author Messages
kript0x
Private

Gender: Unspecified
Location:
Registered: Aug 2012
Status: Offline
Posts: 1

Click here to see the profile for kript0x Send email to kript0x Send private message to kript0x Find more posts by kript0x Edit or delete this message Reply w/Quote
Posted Wednesday, August 1, 2012 @ 10:37:56  

Code:
 jButton2.setVisible(false);

DBTable servers = new DBTable();
servers.setVisible(true);
jPanel1.add(servers);
servers.setConnection(conn);
servers.setSelectSql("SELECT ServerID, Naam, Kost, Opslag, Paswoord from tblServers");
servers.createControlPanel();

servers.refresh();

I get the msgbox telling me its a free version (will buy license soon) but the table is no where visible.
Any idea on what to do?

Debug output:

Code:
Executing row count sql=SELECT COUNT(*) from tblServers

Time taken to execute rowcount sql=22ms
Time taken to execute select sql=23ms
Initializing column properties. Any properties set using getColumn(i).setXXXX() will be lost. To retain old column properties use 'DBTable.useOldColumnProperties(boolean val)', if needed.
Database meta data information received from jdbc driver
Column 1: Name: ServerID
ReadOnly: false
Data Type: INTEGER
Precision: 10
Scale: 0
Signed: true

Column 2: Name: Naam
ReadOnly: false
Data Type: VARCHAR
Length: 50

Column 3: Name: Kost
ReadOnly: false
Data Type: REAL
Precision: 12
Scale: 31
Signed: true

Column 4: Name: Opslag
ReadOnly: false
Data Type: REAL
Precision: 12
Scale: 31
Signed: true

Column 5: Name: Paswoord
ReadOnly: false
Data Type: VARCHAR
Length: 50


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 Friday, August 10, 2012 @ 15:09:20  

what is the layout of jPanel1? In place of DBTable add a textarea and see whether it appears.
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