How to set the size of a button in java when the text on it is empty?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SWATI AGARWAL

    How to set the size of a button in java when the text on it is empty?

    How can we set the size of a button in java when the text on it is empty.

    setbounds ,setsize ,setprefferedsi ze are the options that i tried but i failed to get the desired output.
    Last edited by NeoPa; Nov 3 '10, 02:29 AM. Reason: Removed abbreviations
Working...