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:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Swing / AWT / SWT
Remove Image from JButton
Shiva Kumar
Ranch Hand
Posts: 30
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I want to remove the Image from JButton, which was setted while creating the JButton Object.
Please help me out
Thanks
Shiva
Jeff SmithX
Ranch Hand
Posts: 50
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I believe you just do something like:
myButton.setIcon( null );
Jeff
It's just like a fortune cookie, but instead of a cookie, it's pie. And we'll call it ... tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Send to printer
Swing
How to remove red color from selected image area ?
how to remove unwanted pixels from image
add component to a JPanel
More...