@Retention(RUNTIME)
@Target(METHOD)
public @interface EntryPoint
Before the GUI can be created an
EntryPoint should be specified
as follows:
@EntryPoint
public void showGui() {
mainFrame.setVisible(true);
}