Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.awt.*;
- public class mymoney extends java.applet.Applet {
- Label UserName = new Label("Username: ");
- TextField txtUserName = new TextField("", 15);
- Button helloButton = new Button("<html><br/>Get Coins!</html>");
- Label Password = new Label("<html></br>Password: <br>");
- TextField txtPassWord = new TextField("", 15);
- Label NumCoins = new Label("<html><br/>Coins: </html>");
- TextField txtNumCoins = new TextField("", 15);
- public void init() {
- add(UserName);
- add(txtUserName);
- add(Password);
- add(txtPassWord);
- add(NumCoins);
- add(txtNumCoins);
- add(helloButton);
- }
- }
Add Comment
Please, Sign In to add comment