Subscribe For Free Updates!

We'll not spam mate! We promise.

Thursday, 30 August 2012

Java Applet Code to create button


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

public class SimpleButton extends java.applet.Applet {
//Create a button named helloButton with the caption Hello World!
    Button helloButton = new Button("Hello World!");

    public void init() {
//Add the button to the screen
        add(helloButton);
    }
}

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

0 comments:

Post a Comment