Ah right! Don't know how I missed that last night ;p
Will stick with the JComponent implementation providing my own background in any case.
Thanks Kevin.
Type: Posts; User: newbie
Ah right! Don't know how I missed that last night ;p
Will stick with the JComponent implementation providing my own background in any case.
Thanks Kevin.
Update: Found a thread on Oracle's forums, and assuming the poster has his facts correct, it seems the implementation I set myself might be the way forward.
Source:...
Hey Kevin.
I read that last night too, but when I called it in the constructor, it still doesn't paint the background.
Hey all, long time no see ;p
Having not done any Java2D in many months now, I thought it was about time I got stuck right in.
I know that you can set the background colour for a content pane...