font smoothing fix, beautify fix, version number in about box, rev 0065

This commit is contained in:
benfry
2003-09-30 20:45:24 +00:00
parent d8125f8665
commit 6a000b1c3d
7 changed files with 105 additions and 24 deletions

View File

@@ -58,6 +58,8 @@ public class PdeBase extends Frame
, MRJPrefsHandler
#endif
{
static final String VERSION = "0065 Alpha";
static Properties properties;
static Properties keywords; // keyword -> reference html lookup
@@ -1032,6 +1034,17 @@ public class PdeBase extends Frame
final Window window = new Window(this) {
public void paint(Graphics g) {
g.drawImage(image, 0, 0, null);
/*
// does nothing..
Graphics2D g2 = (Graphics2D) g;
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_OFF);
*/
g.setFont(new Font("SansSerif", Font.PLAIN, 11));
g.setColor(Color.white);
g.drawString(VERSION, 50, 30);
}
};
window.addMouseListener(new MouseAdapter() {