adding partial java gui