• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help designing JButton & JRadioButtons  RSS feed

john mattucci
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1/ I ve tried in vain to create JButtons with a nicer L&F. My major problem also being trying to create JButtons all having the same size. I have used setSize( ) but that seems to do absolutely nothing. Here is one of my attempts
JButton ok = new JButton(" ok ");
ok.setPreferredSize(new Dimension(25,30));
2/ Is there any to customize the look of a JRadioButton so you use one image for when
its picked and another one for when its not
Thank you all help is greatly appreciated

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!