Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-27-2007, 12:16 PM
Member
 
Join Date: Aug 2007
Posts: 17
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-27-2007, 12:43 PM
Member
 
Join Date: Aug 2007
Posts: 17
Gajesh Tripathi is on a distinguished road
Sorry!
Actually, I forgot attachment with my thread. Please collect it with this my replied thread...
Attached Files
File Type: txt FrmLogin.txt (14.0 KB, 1 views)
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 10-27-2007, 08:32 PM
Senior Member
 
Join Date: Jul 2007
Posts: 1,189
hardwired is on a distinguished road
How to Use Progress Bars
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Synchronization Doesn't seem to work sherinpearl Threads and Synchronization 1 04-23-2008 07:30 PM
[SOLVED] Problem with setVisible(); on LINUX lepetitprince AWT / Swing 6 04-07-2008 03:14 PM
bug (?) in ProcessBuilder.redirectErrorStream(true); gadasie Advanced Java 3 03-13-2008 10:04 AM
how would i get this to work...? deeadeed New To Java 6 12-06-2007 03:58 AM
while(true) ravian New To Java 5 12-04-2007 10:43 AM


All times are GMT +3. The time now is 04:02 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org