@@ -0,0 +1,1515 @@
+package com.oozinoz.ui;%0A%0Aimport java.awt.*;%0A%0Aimport javax.swing.*;%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 * Show how a class might construct higher-level components%0A * from buttons and text areas in a component kit.%0A * %0A * @author Steven J. Metsker%0A */%0Apublic class ShowKit %0A%7B%0A/**%0A * Return a %22cross sales%22 panel that supports selling%0A * Oozinoz customers something other than what they%0A * called (or clicked) about.%0A *%0A * @return a %22cross sales%22 panel that supports selling%0A *         Oozinoz customers something other than what they%0A *         called (or clicked) about%0A */%0Apublic static JPanel crossSales(UIKit k)%0A%7B%0A%09JPanel p = new JPanel();%0A%09p.setLayout(new BorderLayout());%0A%09p.add(k.createButton(%22Clear%22), %22South%22);%0A%09OzTextArea t = k.createTextArea();%0A%09t.append(%22 1) Consult the recommendation list.%5Cn%22);%0A%09t.append(%22 2) Establish customer interest.%5Cn%22);%0A%09t.append(%22 3) Close the sale.%5Cn%22);%0A%09p.add(t, %22Center%22);%0A%09return p;%0A%7D%0A/**%0A * Show how a class might construct higher-level components%0A * from buttons and text areas in a component kit.%0A */%0Apublic static void main(String%5B%5D args)%0A%7B%0A%09UIKit k = UIKit.handheld();%0A%09JPanel p = ShowKit.crossSales(k);%0A%09SwingFacade.launch(p, %22 Oozinoz Cross Sales%22);%0A%7D%0A%7D%0A

Create ShowKit.java