| Author |
about java swings
|
raja ramesh
Greenhorn
Joined: Jan 09, 2008
Posts: 25
|
|
|
can we implement JButton shape as other than rectangular(like circle,ellipse etc) ?
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32712
|
|
Don't know. Look at this old thread. Anybody else able to help? Should this thread be transferred to the Swing forum?
|
 |
Brian Cole
Author
Ranch Hand
Joined: Sep 20, 2005
Posts: 852
|
|
Originally posted by pranaya geetha: can we implement JButton shape as other than rectangular(like circle,ellipse etc) ?
Sure we can. The thread that Campbell Ritchie mentions says that one must match the containers background, but I don't think that's the case. note: Even though the corners are transparent, the button will still react to clicks/rollovers on those corners.
|
bitguru blog
|
 |
 |
|
|
subject: about java swings
|
|
|