Spacing issues on Java