Create figure.java