How to add images,buttons and graphics in java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to add images,buttons and graphics in java?

I've gon through the whole course of java on sololearn but there is nothing about event handling,adding images,buttons and graphics....can anyone please tell me how to do that.

13th Aug 2020, 4:57 AM
Aditya Raj
Aditya Raj - avatar
1 Answer
0
For that you have to learn graphics libraries for java such as AWT, Swing , JavaFx and many more. As a beginner i suggest you to learn some event handling with AWT and you can learn either swing or JavaFx (Now many prefer JavaFx ) but for concept you can learn swing and then move to modern JavaFx. These are the basic of Java GUI :)
13th Aug 2020, 11:07 AM
Kuber Acharya
Kuber Acharya - avatar