import java.awt.Container;
import javax.swing.*;
import java.awt.*;
public class Example extends JFrame
{
public void CreateJFrame(String title)
{
JFrame jf=new JFrame(title);
Container container=jf.getContentPane();
JLabel jl=new JLabel("这是一个JFrame窗体");
jl.setHorizontalAlig...
import java.util.Date;
class Employee
{
private String name;
private double salary;
private Date birthday;
public Employee()
{
}
public Employee(String name,double salary,Date birthday)
{
this.name=name;
this.salary=salary;
this.birthday=birthday;
}
p...
import javax.servlet.*;
import java.io.*;
public class Hello implements Servlet
{
public void init(ServletConfig parml) throws ServletException
{
System.out.println("init");
}
public ServletConfig getServletConfig()
{
return null;
}
public void service(ServletReques...