posted 19 years ago
Hi all.
If I want to create my own component (MyButton for example), I have to extend JButton class. I want to create round button for example. Which method I must override in class JButton: paint(Graphics g) or paintComponent(Graphics g)?
Thanks in advance.
SCJP 1.4 <br />SCBCD 1.3<br />SCWCD 1.4