0
How to draw whit java?
I know I doesn't work in sololearn but I still want to know how Is it done? I will soon download a IDE that are able to draw
2 Respostas
0
draw on a JPanel https://docs.oracle.com/javase/8/docs/api/javax/swing/JPanel.html
with Graphics2D https://docs.oracle.com/javase/8/docs/api/java/awt/Graphics2D.html
You can also use Canvas and Graphics, but they are older APIs.
0
My recommendation is to use the java.awt and javax.swing APIs. Using things like graphics/graphics2D(this one has more options) and a JFrame and JPanel. There are plenty of good tutorials on YouTube.