Create xyBalance.java