Logo Search packages:      
Sourcecode: wims version File versions  Download package

MyPanel.java

package rene.gui;

import java.awt.Graphics;
import java.awt.Panel;

public class MyPanel extends Panel
{     public MyPanel ()
      {     if (Global.ControlBackground!=null)
                  setBackground(Global.ControlBackground);
            repaint();
      }
      public void paint (Graphics g)
      {     super.paint(g);
            getToolkit().sync();
      }
}

Generated by  Doxygen 1.6.0   Back to index