Projects Directory : Convert Code from Javascript to Java - Convert Code to One Button From Two Button