How to draw a simple line with java Graphics (GUI) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to draw a simple line with java Graphics (GUI)

i tried all the research but i cant figure it out.

27th Apr 2018, 4:41 PM
Daniel Amani Prince
Daniel Amani Prince - avatar
2 Answers
+ 6
Thanks for editing. Now it's clear that you don't want a solution for the playground ;) So, which gui framework do you use at school? I'm sure I could find a tutorial. Or provide an example...
27th Apr 2018, 4:51 PM
Tashi N
Tashi N - avatar
+ 4
Which gui framework? (It is not possible on the code playground, because that doesn't support Java gui frameworks, only console output like ------ | | | | quite bad, I know.)
27th Apr 2018, 4:45 PM
Tashi N
Tashi N - avatar