Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Campbell Ritchie
paul wheaton
Ron McLeod
Devaka Cooray
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Paul Clapham
Saloon Keepers:
Tim Holloway
Carey Brown
Piet Souris
Bartenders:
Forum:
Swing / AWT / SWT
How do you change the look&feel of a JButton
Sam Zheng
Ranch Hand
Posts: 61
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Under the
java
's look and feel, the JButton looks silly. It is just a small area with an etch boundary. How to change the look and feel of the JButton so that it really looks like a button, with the look of a "raised" appearance?
Thanks!
Sam
Bhagya Tangutur
Ranch Hand
Posts: 88
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
one way of doing it is changing border and increase the Margin.
ig u want to change look and feel.u can use putClientProperty() method.
Sun Certified Java Programmer
George McCain
Ranch Hand
Posts: 35
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I think the default L&F is metal
you can change the L&F to something else like windows L&F
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how to change my GUI app look and feel to Nimbus?
Mnemonic to Button in Windows look and feel
Changing Look and Feel dynamically
Color for Button in Windows look and feel
Urgent awt code
More...