11. februar 2004 - 00:50Der er
5 kommentarer og 1 løsning
applet Textarea problem
import java.awt.*;
public class TextfieldTest extends java.applet.Applet { String letter = "Dear Readers: \n" + "We are learning about Java AWT. \n" + "Some of you might find it all exciting, while a few are still not very sure \n" + "For those cat on the wall folks \n" + "My advice is read it again and practice some codes. \n \n" + "So brewing a cup of Java? Isn’t so hard as it looked…is it! " ;
TextArea ltArea;
public void init(){ ltArea = new TextArea(letter, 10, 50); add(ltArea); }
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.