This section illustrates you how to show the icon on the button in Java Swing.
This program sets the icon on the button in Java Swing.
Following is the output of the program:
Above method sets the specified Icon on the button.
Above code creates an object of image.
Here is the code of the program:
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: April 14, 2007 If you enjoyed this post then why not add us on Google+? Add us to your Circles