Blame |
Last modification |
View Log
| RSS feed
package rene.gui;
import java.awt.Container;
import java.awt.Graphics;
import java.awt.Label;
/**
A Label with a midifyable Font.
*/
public class MyLabel
extends Label
{ super(s);
if (Global.NormalFont!=null) setFont(Global.NormalFont);
}
public MyLabel
(String s,
int allign
)
{ super(s,allign);
if (Global.NormalFont!=null) setFont(Global.NormalFont);
}
/**
This is for Java 1.2 on Windows.
*/
if (c!=null) setBackground(c.getBackground());
super.paint(g);
}
}