Java Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingJava Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 17th, 2012, 07:29 AM
Sivapreeya Sivapreeya is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2012
Posts: 1 Sivapreeya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 m 21 sec
Reputation Power: 0
Combobox is not working after setting transparency to background color of frame- rgba

Hi to all,

I created a frame and added a panel to the frame.
In that panel, Iíve added a background image and components like combobox, button, etc.

In that background image, some extra white space is there. My requirement is to make the frame transparent, so that the extra white space will not be visible.

Iíve made that frame transparent by setting setBackground(new Color(255,255,255,0)) where the color parameters are red, green, blue, alpha.

Since the value of alpha is zero, the frame is transparent. But, if I click the combobox it is not dropping down the items and I canít be able to select the items.

If there is no alpha parameter (i.e., setBackground(new Color(255,255,255))), then the combobox is dropping down fine and can be able to select the items. But the frame is not transparent.

If I make the frame transparent, other than the combobox all the components are working fine.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJava Development > Combobox is not working after setting transparency to background color of frame- rgba


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap