Create spectral.java