how to set image in java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to set image in java

11th Aug 2016, 6:29 PM
Hamza Merdzanic
Hamza Merdzanic - avatar
8 Answers
+ 1
image as background is added using swing package with BackgroundImageJFrame() method.. then in the block it can be modified using- setTitle(), setSize(), setVisible() and many more. I think u must have got the idea.. Is it.??
31st Aug 2016, 11:33 AM
Srajan Sahu
Srajan Sahu - avatar
0
like a pop up?
11th Aug 2016, 8:21 PM
Aquarius
Aquarius - avatar
0
no like background
12th Aug 2016, 9:24 AM
Hamza Merdzanic
Hamza Merdzanic - avatar
0
i dont know if you got your answer but im not quite sure how to set a background image on java. do you need it for a game your coding? Or a pc background image?
13th Aug 2016, 4:21 PM
Aquarius
Aquarius - avatar
0
https://youtu.be/b9guY6Tp4hc this how to set a background image in java using eclipse
13th Aug 2016, 4:37 PM
Aquarius
Aquarius - avatar
0
I made frame and i want to set image in it. got it??
13th Aug 2016, 4:37 PM
Hamza Merdzanic
Hamza Merdzanic - avatar
0
you could say
13th Aug 2016, 4:41 PM
Hamza Merdzanic
Hamza Merdzanic - avatar
0
check the link out. it might help you
13th Aug 2016, 5:15 PM
Aquarius
Aquarius - avatar