Why don't you study the JCreator documentation?