/***************************************************************************** TabTest.java An applet to demonstrate & test TabPanel.java bruce.miller@nist.gov Contribution of the National Institute of Standards and Technology, not subject to copyright. ******************************************************************************/ package test; import java.applet.*; import java.awt.*; import java.util.*; import gui.*; public class TabTest extends Applet { TabPanel tab; Button bfirst,bnext,bprev,blast,bremove,binsert,bbunch; TextField text; String greek[] = {"Alpha","Beta","Gamma","Delta","Epsilon", "Zeta","Eta","Theta","Iota","Kappa","Lambda","Mu","Nu", "Xi","Omicron","Pi","Rho","Sigma","Tau","Upsilon","Phi", "Chi","Psi","Omega"}; Color foreground =new Color(0,0,0); Color farbackground=new Color(196,255,196); Color background =new Color(232,255,232); int N = 6; public void init() { setLayout(new BorderLayout()); Label label = new Label("TabPanel Demo & Tester"); label.setFont(new Font("Helvetica",Font.BOLD,14)); add("North",label); tab = new TabPanel(); setBackground(farbackground); tab.setBackground(background); tab.setForeground(foreground); add("Center",tab); for(int i=0; i