Wave GUI Code

form and java code.