0
Can you create graphics in java
just was curious didn't know for sure
2 Answers
+ 3
you can draw using java 2D
+ 1
Yes, using JPanel or Applet* class (more information on these classes and its pre-written methods here: https://docs.oracle.com/javase/8/docs/api/) as a canvas to draw your shapes and images on, you can import the Graphics class. Graphics2D is another class with more control over geometry and layout that inherits methods from the original Graphics class.
*I would not recommend using the web-based Java Applet class because Java has stricter security guidelines that do not allow Java Applets to run on major browsers such as Chrome.
Hope this helps.