<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
xxxxxxxxxxxxxxxxx
<applet archive="amu.jar" code=com.newtouch.client.ui.UserManagerUI.class height=600 width=800>
</applet>
</body>
</html>
package com.newtouch.client.ui;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JApplet;
import javax.swing.JButton;
import javax.swing.JOptionPane;
public class UserManagerUI extends JApplet {
private JButton startButton,endButton;
@Override
public void init() {
this.setSize(300, 600);
startButton = new JButton("Starting..");
endButton = new JButton("endButton");
this.setLayout(new BorderLayout());
this.add(startButton,BorderLayout.NORTH);
this.add(endButton,BorderLayout.CENTER);
startButton.addActionListener(new ActionListener(){
@Override
public void actionPerformed(ActionEvent event) {
JOptionPane.showMessageDialog(startButton,"xxxxxxxxxxxxxxxxxxxxxxxxx");
}
});
}
}