@@ -0,0 +1,1761 @@
+package com.oozinoz.ui;%0A%0Aimport java.awt.Cursor;%0Aimport java.awt.Font;%0A%0Aimport javax.swing.JButton;%0A%0A/*%0A * Copyright (c) 2001 Steven J. Metsker.%0A * %0A * Steve Metsker makes no representations or warranties about%0A * the fitness of this software for any particular purpose, %0A * including the implied warranty of merchantability.%0A *%0A * Please use this software as you wish with the sole%0A * restriction that you may not claim that you wrote it.%0A */%0A/**%0A * This class shows the idea of establishing user%0A * interface kits with prototypical components.%0A * %0A * @author Steven J. Metsker%0A */%0Apublic class UIKit %0A%7B%0A%09protected OzButton button = new OzButton();%0A%09protected OzTextArea textArea = new OzTextArea();%0A/**%0A * Return a (copy of a prototypical) button.%0A *%0A * @return a (copy of a prototypical) button%0A */%0Apublic JButton createButton(String text)%0A%7B%0A%09JButton b = new JButton(text);%0A%09b.setFont(button.getFont());%0A%09return b;%0A%7D%0A/**%0A * Return a (copy of a prototypical) text area.%0A *%0A * @return a (copy of a prototypical) text area%0A */%0Apublic OzTextArea createTextArea()%0A%7B%0A%09return (OzTextArea) textArea.clone();%0A%7D%0A/**%0A * Return a kit for full-screen user interfaces.%0A *%0A * @return a kit for full-screen user interfaces%0A */%0Apublic static UIKit fullScreen()%0A%7B%0A%09Font f = new Font(%22Dialog%22, Font.ITALIC, 18);%0A%09UIKit k = new UIKit();%0A%09k.button.setFont(f);%0A%09k.textArea.setFont(f);%0A%09return k;%0A%7D%0A/**%0A * Return a kit for handheld device user interfaces.%0A *%0A * @return a kit for handheld device user interfaces%0A */%0Apublic static UIKit handheld()%0A%7B%0A%09UIKit k = new UIKit();%0A%09Font f = new Font(%22Dialog%22, Font.PLAIN, 8);%0A%09k.button.setFont(f);%0A%09k.textArea = new OzTextArea();%0A%09k.textArea.setFont(f);%0A%09Cursor c = new Cursor(Cursor.HAND_CURSOR);%0A%09k.textArea.setCursor(c);%0A%09return k;%0A%7D%0A%7D%0A

Create UIKit.java