Wrox Programmer Forums
|
Java GUI Discussions specific to programming Java GUI.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java GUI section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 22nd, 2006, 11:32 AM
Registered User
 
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default JColorChooser

Hello everybody,
I m working on bug fixing.
In one of my bug if i click on a JButton then a panel gets opened in which i have options of selecting Red,Green, Blue and "transparency".
When i select appropriate color and give transparency as 0% then the color as shown in the preview gets displayed in the button.

But if i increase the transparency i do not get the color as displayed in the preview.
I m using "JColorChooser" to select colors.

In order to set color(background) on the button i have set the opaque property of button as true.I doubt whether this is affecting transparency,pls let me know if opaque property does affect transparency.

Is there any command that may help?

pls help:(

 
Old March 16th, 2006, 10:21 AM
Registered User
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can you post your code?









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.