import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.io.*;
public class sendapplet extends Applet implements ActionListener
{
Label sendlable;
Label messageInfo;
Button sendButton;
TextField sendText;
TextField messageText;
URLConnection connect;
String message;
URL chatURL;
public String getAppletInfo()
{
return "this is a applet--servlet";
}
public synchronized void init()
{
super.init();
resize(500,300);
sendlable=new Label("Please enter Massage");
messageInfo=new Label("What you hava send:");
sendText=new TextField(40);
sendButton=new Button("Send");
messageText=new TextField(40);
messageText.setEditable(false);
//
//
Panel mainp=new Panel();
GridBagLayout gbl=new GridBagLayout();
GridBagConstraints gbc=new GridBagConstraints();
gbc.weightx=0;