1
edit
Changes
no edit summary
6.1. This application is using a dialog window to add a student.<br/>
6.2. Implement <code>AddCommandHandler</code> by implementing <code>CommandHandler</code> as anonymous class:
<presource lang="java">
addItem.setCommand(new Command(new CommandHandler() {
public void execute(ReadOnlyCommandMetadata metadata, Object context) {
}
}));
</presource>
6.3. Run the application and select "''Add student''" from the menu:<br/>
[[Image: BB_add.png | 300px ]]<br/>