Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jbutton in different style

 
v kishore
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I created a calculator using swing under the netbeans. i want to see my buttons in different style ,but using the existing methods like border , icon etc i am not getting the good look , i need glossy look like iphone keypad . can any one suggests regarding is it possible using the ui components of netbeans.

Thanking you in advance
 
Kevin Workman
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you really want to do Swing/GUI programming, ditch the GUI builder and write the code yourself.

But to start out, you should probably be more specific about what you want. What makes a button look glossy like an iphone keypad? Is it a certain background color? A foreground color? Both? A border? There is no makeButtonLookLikeIphone() method in Java.

You might also want to investigate setting the program's look and feel.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic