Eclipse CODEING help!
#3

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
VolatileImages are a tricky thing to use.
The frame needs to be visible and useable before you can create a volatile image, else it will return null and youll get problems.
Dont know if this would work in your case, but you could try adding a pause of about a second at the beginning of run(), before creating the image, so the frame got some time to load. There are better methods, but thats the most easy one for testing if this causes the problem.
Eclipse probably knows about that volatileimage load delay, so it gives you a warning.
Sorry didn't understand :/ could you maybe type it in like commands
Reply


Messages In This Thread
Eclipse CODEING help! - by NukeTripper - 19.12.2013, 21:36
Re: Eclipse CODEING help! - by Mauzen - 19.12.2013, 21:44
Re: Eclipse CODEING help! - by NukeTripper - 19.12.2013, 21:50

Forum Jump:


Users browsing this thread: 1 Guest(s)