From jacobson@math-cs.cns.uni.edu Thu Oct 31 14:27:24 2002 Date: Thu, 31 Oct 2002 14:26:47 -0600 (CST) From: Mark Jacobson To: 810-061-01@uni.edu, 810-061-02@uni.edu Subject: Font class example.... Here is a little Java code segment that illustrates the Label and Font classes. Font myFont = new Font("Courier New", Font.BOLD + Font.ITALIC, 28); Label greet = new Label("Hello World", Label.CENTER); greet.setFont(myFont); add(greet, BorderLayout.SOUTH); The link to the Java CS I AWT Cheat Sheet is available from our classes web page, and it is the URL: http://www.cs.uni.edu/~fienup/cs061f02/handouts/guicompb.htm which is easily linked to from: http://www.cns.uni.edu/~jacobson/061 Mark