Answer the question
In order to leave comments, you need to log in
How to dynamically draw elements in java using graphics2d?
In this example, I simply inherited the JPanel class and overridden the paintComponent method, please tell me how to add the ability to enter a point here and make it draw. I know how to add a button and an input field and get data from there, but how can I make the points draw dynamically?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question