Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-14-2007, 05:23 PM
Senior Member
 
Join Date: Jun 2007
Posts: 130
Rep Power: 0
Jack is on a distinguished road
Default JComboBox setDisabledTextColor
My question is the following one:
To the texfield exists setDisabledTextColor method, Does exist a similar method for the JcomboBox?


thanks guys

Last edited by Jack; 07-02-2007 at 06:28 AM.
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 07-02-2007, 06:27 AM
Ed Ed is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Rep Power: 0
Ed is on a distinguished road
Default
You have to configure it as renderer.
check it
How to Use Combo Boxes (The Java™ Tutorials > Creating a GUI with JFC/Swing > Using Swing Components)
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-02-2007, 06:32 AM
Senior Member
 
Join Date: Jun 2007
Posts: 119
Rep Power: 0
Peter is on a distinguished road
Default
please consider this link
A fancy example of JComboBox with a custom renderer and editor : ComboBox : Swing JFC : Java examples (example source code) Organized by topic
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change font/ font color etc in a graphic object using JCombobox? JavaInLove AWT / Swing 5 04-25-2009 09:00 PM
Canvas rendered over JCombobox menu JSK AWT / Swing 2 11-19-2007 09:00 PM
Adding items to a jComboBox tronovan New To Java 0 08-08-2007 09:48 AM
Help with jComboBox Marcus AWT / Swing 2 07-02-2007 12:08 AM
jcombobox Freddie AWT / Swing 4 05-11-2007 01:48 AM


All times are GMT +2. The time now is 01:25 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org