Well i am trying on my project and i have completed it
But looking it as per GUI application i want to hide the JButton's text and only Image Icon should be visible
And the interesting clause is that the JButton name should not be NULL or "" it shud be the name that i have entered
Eg:
JButton b=new JButton("Button",new ImageIcon("m.png"));
Now the button should only contain m.png and not the text "Button"
Help plzz as soon as possible