I have a problem while maven packaging. In this code:
public class LoginDialog extends Dialog { private final TextField customer;
You either need to change your settings so that you're source is set to 1.5+ or remove the generics from your code:
private final TextField customer;