11 Replies Latest reply: Jul 14, 2009 7:21 PM by 807588 RSS

    Progress bar and sql query

    807588
      Hi, first of all excuse my English.
      I have a problem that I can not solve, i implement a indeterminate progress bar for a sql query but not shown until you have completed method. I tested threads and swingworker but can't make it work.
      The pseudocode would be:
      @Action
      public void Find() {
          progressbar.setVisible(true);
          ... query ...
      }
      If anyone has a solution would be very grateful.