View Single Post
  #1 (permalink)  
Old 10-27-2007, 01:16 PM
Gajesh Tripathi Gajesh Tripathi is offline
Member
 
Join Date: Aug 2007
Posts: 20
Gajesh Tripathi is on a distinguished road
setVisible(true) does not work
Hi

I create a JProgressBar object and use setVisible(true) method for this object but it doesn't work. i.e. progress bar is not visible at all.
Just after this calling {setVisible(true)}, I reterive data from MS-Access database which may take time. That's why it doesn't work.
What should I do?
My source is attached here...
To run this program, you should create a .mdb file with LabUser table that has following structure:
userid Number
password Text (15)
userLevel Text (1) ; 'S'/'A'/'I'
Fill some data into this table then create a DSN (ODBC Connection) with named "gt" to connect this data and set connection object according to your JDBC knowledge.

Please tell me why ProgressBar is not work?

Thanks
Gajesh
Reply With Quote
Sponsored Links