Create paine.java