GUI Sample Code in Java