public class c_curve extends jpanel{