jfig.utils
Class ChangeMenuFont

java.lang.Object
  extended byjfig.utils.ChangeMenuFont

public class ChangeMenuFont
extends java.lang.Object

simple demo to prove that several JDKs do NOT allow to change menu fonts. Also shows whether java.awt.Button reacts correctly to font changes.


Field Summary
(package private)  java.awt.Button changeFontButton
           
(package private)  java.awt.Menu editmenu
           
(package private)  java.awt.Frame f
           
(package private)  java.awt.Menu filemenu
           
(package private)  java.awt.Font font
           
(package private)  java.awt.Font[] fontList
           
(package private)  java.awt.Menu helpmenu
           
(package private)  java.awt.MenuBar menubar
           
(package private)  int state
           
 
Constructor Summary
(package private) ChangeMenuFont()
           
 
Method Summary
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

f

java.awt.Frame f

font

java.awt.Font font

menubar

java.awt.MenuBar menubar

filemenu

java.awt.Menu filemenu

editmenu

java.awt.Menu editmenu

helpmenu

java.awt.Menu helpmenu

changeFontButton

java.awt.Button changeFontButton

state

int state

fontList

java.awt.Font[] fontList
Constructor Detail

ChangeMenuFont

ChangeMenuFont()
Method Detail

main

public static void main(java.lang.String[] argv)