import java.awt.*; import java.util.*; /** * An area made up of WhiteLabel:s for many lines of text. */ public class WhiteArea extends Panel { static final int WIDTH = 200; WhiteLabel[] lines; String[] txt; /** * Main cointructor. */ public WhiteArea(int nr, int x, int y) { lines = new WhiteLabel[nr]; txt = new String[nr]; setLayout(null); resize(WIDTH, nr*20); move(x,y); Font fo = new Font("Courier", Font.PLAIN, 12); //each char must have same size! int yc=0; for(int i=0;i