Create bar.java