Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Posts
    45
    Rep Power
    0

    Default 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

  2. #2
    Join Date
    Aug 2007
    Posts
    45
    Rep Power
    0

    Default Sorry!

    Actually, I forgot attachment with my thread. Please collect it with this my replied thread...
    Attached Files Attached Files

  3. #3
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

Similar Threads

  1. while(true)
    By ravian in forum New To Java
    Replies: 7
    Last Post: 06-29-2011, 06:05 AM
  2. [SOLVED] Problem with setVisible(); on LINUX
    By lepetitprince in forum AWT / Swing
    Replies: 9
    Last Post: 11-22-2008, 04:14 PM
  3. Synchronization Doesn't seem to work
    By sherinpearl in forum Threads and Synchronization
    Replies: 1
    Last Post: 04-23-2008, 06:30 PM
  4. bug (?) in ProcessBuilder.redirectErrorStream(true);
    By gadasie in forum Advanced Java
    Replies: 3
    Last Post: 03-13-2008, 09:04 AM
  5. how would i get this to work...?
    By deeadeed in forum New To Java
    Replies: 6
    Last Post: 12-06-2007, 02:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •