To set Default Language: Setting Default Lanuage 1 in Tools / Options / Notation) Select ClassPath in Tools / Java / J2EE / Open Java Specification, press Add New Note: Select you to store the directory of the target code file, determine OK; 2) Select a package under the Logical View Browser, right-click, or select the Generate Code production code under the mouse / java / j2ee, the system will generate the code dialog, the directory selected the target code. You will see you in 1) specified directory, and then generate!