super("", 20, 80, SCROLLBARS_NONE); if (myFont == null) { myFont = new Font("Courier", Font.BOLD, 10); } setFont(myFont); setForeground(Color.red); setText("\nWould load " + fileName + "\nNOW.");
return fileName;
Frame f = new Frame("CodeBean Demo"); CodeBean cb = new CodeBean(); cb.setFileName("TESTING 1 2 3"); f.add(cb); f.pack(); f.setVisible(true);
fileName = _fileName;