Tony Docherty wrote:Yes, basically you can create your own button class which extends JButton and provide your own implementation of the paintComponent(Graphics) method.
However if you just want a standard button but displaying an image rather than text JButton will do this for you. Use the JButton constructor that takes an ImageIcon.
Mohamed Sanaulla wrote: OCPJP 7 will not be released anytime soon. Only after Java 7 is released.