import java.applet.*;
import java.awt.*;
http://uat.jtalks.org/jcommune/topics/new?branchId=3
public class EventTester extends Applet {
// display the instructions
public void paint(Graphics g) {
g.drawString("Click, drag, and type in this window.", 10, 20);
}
private int postCount; private Language language = Language.ENGLISH; private int pageSize = DEFAULT_PAGE_SIZE; private String location; private String signature; private DateTime registrationDate; private boolean enabled; public static final int MAX_SIGNATURE_SIZE = 255; public static final int MAX_LOCATION_SIZE = 30; public static final int DEFAULT_PAGE_SIZE = 50; public static final int[] PAGE_SIZES_AVAILABLE = new int[]{5, 10, 20, 50, 100, 250}; private static final long serialVersionUID = 19981017L; private Set<UserContact> contacts = new HashSet<UserContact>(); private List<Group> groups = new ArrayList<Group>(); private DateTime avatarLastModificationTime = new DateTime(System.currentTimeMillis()); /** * Only for hibernate usage. */ protected JCUser() { }