progress bar with windows look and feel

From: Martin Trobec (trobecgeologygroup_at_shaw.ca)
Date: 03/31/04


Date: Wed, 31 Mar 2004 15:36:24 GMT

Using winMe with jdk1.4, and with default java look and feel, my application
reads a text file and displays read progress in a JProgressBar which
gracefully closes when the file read is finished..

I added the UIManager.getSystemLookAndFeelClassName() setting as the first
code in my main method and this successfully caused all components to be
displayed in windows look and feel, however, my JProgressBar has a problem.
It pops up but does not show progress, and then closes when the file has
finished loading.

I would be grateful for any suggestions why the JProgressBar would work fine
in java default laf but not in windows laf.

Many thanks.
Martin



Relevant Pages

  • JProgressBar .... need assistance please..
    ... I'm playing with the idea of showing a JProgressBar in a small App' I trying ... I want to display the progress of an array being populated....however I cant ... ActionListener act = new ActionListener{ ...
    (comp.lang.java.programmer)
  • JProgressBar... need assiatance please
    ... I'm playing with the idea of showing a JProgressBar in a small App' I trying ... I want to display the progress of an array being populated....however I cant ... ActionListener act = new ActionListener{ ...
    (comp.lang.java.help)
  • Re: JProgressBar look ?
    ... > I am trying to get a particular look of the JProgressBar for my Splash ... This JProgressBar should display a bar from left to right ... How do I get that effect in Java? ... Stroke myStroke = new BasicStroke(lineWidth, cap, join, miterlimit, dash, ...
    (comp.lang.java.gui)
  • JProgressBar - Determinate Works, Indeterminate Does Not
    ... Below is my code for the TableCellRenderer (which is a JProgressBar). ... bar is updated to match the progress for that specifici process. ... * java.lang.Object, boolean, boolean, int, int) ...
    (comp.lang.java.gui)
  • Updating a Single Progress Bar
    ... items waiting to be processed. ... TableCellRenderer (which I did - it impelements TableCellRenderer AND ... extends JProgressBar) and I need to add the renderer to the specific ... The progress of processing is ...
    (comp.lang.java.gui)