@Override
 public void propertyChange(PropertyChangeEvent evt) {
   String strPropertyName = evt.getPropertyName();
   if ("progress".equals(strPropertyName)) {
     progressBar.setIndeterminate(false);
     int progress = (Integer) evt.getNewValue();
     progressBar.setValue(progress);
   }
 }
 plzwai() {
   LookAndFeel lf = UIManager.getLookAndFeel();
   try {
     UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
     // UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
   } catch (Exception e) {
   }
   fplz = new JFrame("Sending The Pay Slip. Please Wait....");
   fplz.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
   final JProgressBar aJProgressBar = new JProgressBar(JProgressBar.HORIZONTAL);
   // aJProgressBar.setStringPainted(true);
   aJProgressBar.setIndeterminate(true);
   fplz.add(new JPanel(), BorderLayout.NORTH);
   fplz.setIconImage(Toolkit.getDefaultToolkit().getImage("Bin\\img\\airindia.jpg"));
   fplz.add(new JPanel(), BorderLayout.WEST);
   fplz.add(new JPanel(), BorderLayout.EAST);
   fplz.add(new JPanel(), BorderLayout.SOUTH);
   fplz.add(aJProgressBar, BorderLayout.CENTER);
   fplz.setResizable(false);
   fplz.setLocation(h / 3, w / 4);
   fplz.setSize(700, 100);
   fplz.setVisible(true);
 }
 protected synchronized void stopProgressRepaint() {
   progressWorks = false;
   progress.setIndeterminate(false);
   contentpanel.repaint();
 }
 protected synchronized void stopProgress() {
   progressWorks = false;
   progress.setIndeterminate(false);
   // TODO: ADD NOISE WERKT NIET MEER!!!
   updateContentPanel();
 }
 protected synchronized void startProgress() {
   progressWorks = true;
   progress.setIndeterminate(true);
 }