Results 1 to 4 of 4
Thread: Adding transparent JSlider
- 02-21-2011, 11:51 AM #1
Senior Member
- Join Date
- Aug 2009
- Posts
- 294
- Rep Power
- 0
Adding transparent JSlider
Hi!
I added a JSlider to a jpanel that already got an image as background.
Now the JSlider fills in it's area in the screen with ugly beige color. I want it to be transparent so that only the slider is visible with it's sticks and parts.
Using button I could assign setContentAreaFilled(false);
Now I cant, so any idea how to fix that?
- 02-21-2011, 12:23 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,436
- Blog Entries
- 7
- Rep Power
- 17
- 02-21-2011, 12:43 PM #3
Senior Member
- Join Date
- Aug 2009
- Posts
- 294
- Rep Power
- 0
Ahhh!!
I used it and set opaque to true, totaly useless :P
Thanks :D
- 02-21-2011, 02:19 PM #4
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Similar Threads
-
transparent
By chathura992 in forum NetBeansReplies: 2Last Post: 12-30-2010, 04:03 PM -
How to improve Jslider
By JohnST in forum New To JavaReplies: 3Last Post: 01-12-2010, 01:04 AM -
How can we zoom a map using JSlider
By barney in forum AWT / SwingReplies: 5Last Post: 02-23-2009, 01:48 PM -
Got Trouble with JSlider
By hungleon88 in forum Advanced JavaReplies: 6Last Post: 08-30-2008, 05:02 PM -
jmf & JSlider
By nathanr_kamal in forum AWT / SwingReplies: 6Last Post: 06-28-2008, 07:56 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks