< prev index next >

src/com/sun/javatest/tool/jthelp/JTHelpProgressBar.java

Print this page
rev 145 : 7902237: Fixing raw use of parameterized class
Reviewed-by: jjg

*** 34,50 **** import java.beans.PropertyChangeListener; public class JTHelpProgressBar extends Component implements PropertyChangeListener { private JProgressBar progressBar; ! private SwingWorker task; private JDialog frame; private JPanel сontentPane; private UIFactory uif; ! public JTHelpProgressBar(SwingWorker progressTask) { uif = new UIFactory(this, null); task = progressTask; сontentPane = new JPanel(new BorderLayout()); JLabel waitText = uif.createLabel("help.wait"); --- 34,50 ---- import java.beans.PropertyChangeListener; public class JTHelpProgressBar extends Component implements PropertyChangeListener { private JProgressBar progressBar; ! private SwingWorker<Void, Void> task; private JDialog frame; private JPanel сontentPane; private UIFactory uif; ! public JTHelpProgressBar(SwingWorker<Void, Void> progressTask) { uif = new UIFactory(this, null); task = progressTask; сontentPane = new JPanel(new BorderLayout()); JLabel waitText = uif.createLabel("help.wait");
< prev index next >