#Whats wrong the Image doesent appear?
1 messages ยท Page 1 of 1 (latest)
โ This post has been reserved for your question.
Hey @knotty walrus! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
gotta put the jlabel in a variable and at least do setVisible(true), maybe even give it a size
New Code still not working
maybe first setvisible, then add, not sure
no also not working
still not
repaint at the end?
whats that?
try frame.repaint() at the end
no also not
np thanks
like this?
Could it be the picture?
directory?
Folder
Use as source folder...but might not be right
Move the pngs into there
Rebuild project (not sure how in eclipse)
Project > rebuild project apparently
?
Ok whatever close this send project structure pic again
I meant do this after selecting monopoly on left
Run again see what happens
nothing happens
Why dragging and dropping anything
Where did Bilder dir go
Please put back how it was
.
yeah still nothing
Show structure and code
Error
So getresource returns a URL right
yes
Can you do getresourceasstream and readallbytes on that
Forget the jlabel shit for now
Let's see if can get the bytes out to see if program can reach the file
Just do a println or whatever
on recource 1?
On hintergrund
System.out.println(gc.gcl.gras("/skskkd.png").readallbytes().length)