Jasclipse offers a wizard to create a class or an interface file with automatically generated main contents.
See below sections for details