File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Jbutton in different style Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Jbutton in different style" Watch "Jbutton in different style" New topic

Jbutton in different style

v kishore

Joined: Oct 23, 2010
Posts: 11
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

Joined: Sep 28, 2010
Posts: 151
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.
I agree. Here's the link:
subject: Jbutton in different style
It's not a secret anymore!