I have a problem while maven packaging. In this code:
public class LoginDialog extends Dialog { private final TextField customer;
Generics were only introduced as a feature in Java 5, so when compiling using 3, generics will not be permitted. If you want more info about generics, look here. So you need to either compile using 5 or later or stop using generics.