Back to index

wims  3.65+svn20090927
MyPanel.java
Go to the documentation of this file.
00001 package rene.gui;
00002 
00003 import java.awt.Graphics;
00004 import java.awt.Panel;
00005 
00006 public class MyPanel extends Panel
00007 {      public MyPanel ()
00008        {      if (Global.ControlBackground!=null)
00009                      setBackground(Global.ControlBackground);
00010               repaint();
00011        }
00012        public void paint (Graphics g)
00013        {      super.paint(g);
00014               getToolkit().sync();
00015        }
00016 }