How to create a JPanel for graphing
问题 I'm making a function grapher that take 4 parameters and size for the Panel, but I don't know how to create a Panel class that will draw the information from the Grapher class. Can some one help please?(The parameters are not important, I just want to learn how to make a Graph Panel for later use) Panel Class import java.awt.BorderLayout; public class Panel extends JFrame { private JPanel contentPane; /** * Launch the application. */ public static void main(String[] args) { } /** * Create the