Subscribe For Free Updates!

We'll not spam mate! We promise.

Thursday 30 August 2012

Java applet code to Create a text field named TextFieldName



//The Java Abstract Windowing Toolkit
import java.awt.*;

public class TextFieldName extends java.applet.Applet {
//Create a text field named TextFieldName with the
//text Codinglovers in it and make it big enough to hold 10 characters
    TextField TextFieldName = new TextField("Codinglovers", 10);

    public void init() {
//Add it to the screen
        add(TextFieldName);
    }
}

Socializer Widget By CodingLovers
SOCIALIZE IT →
FOLLOW US →
SHARE IT →

0 comments:

Post a Comment