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

    Default setVisible(true) does not work


    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?


  2. #2
    Join Date
    Aug 2007
    Rep Power

    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
    Rep Power

Similar Threads

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