Hi guys
Thank you all, I just solved this problem. hehe...
:-bd
Type: Posts; User: ice
Hi guys
Thank you all, I just solved this problem. hehe...
:-bd
Hi Kevinworkman
Thanks for the advice, yes I need the help if you can give some. My whole code is asp below, it doesn't compile after I added " getContentPane" into the method "public class...
Thanks db
I have added getContentPane(). in front of setBackground(color) asp below code, then ran it, but got a compiling error:
Exception in thread "main" java.lang.IllegalArgumentException:...
Hi copeg
I got a problem that I when I clicked the buttons, the colours of the background is not changed accordingly as it suposed to be, db suggest the colour is set on the frame which is hidden...
Hi db
Thank you for your suggestion, it makes great sense, I guess below part of code caused the colour to be set on the frame instead of the contenPanel, am I right? But how exactly do I modify it?...
Hi guys
Below code mean to change the background colour by clicking the redButton or blueButton, but the code doesn't work, (only can show the frame and two buttons), does any anyone know why?
...