Article View: borland.public.jbuilder.java.swing
Article #8014Change backcolor of noneditable JComboBox
From: Dominik Wirth
Date: Tue, 07 Nov 2000 00:00
Date: Tue, 07 Nov 2000 00:00
11 lines
814 bytes
814 bytes
Hi all How can I change the background color of a noneditable JComboBox? * setBackground() change the color of the arrow and the JList only. * getEditor().getEditorComponent().setBackground() change the color of an editable ComboBox. Any ideas? Thanks in advanced Chris
Technical Details
Message-ID:
<3A083465.816075B2@sw-design.ch>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,2b39c1adbfce528d,start X-Google-Attributes: gid111d45,public From: Dominik Wirth <d.wirth@sw-design.ch> Subject: Change backcolor of noneditable JComboBox Date: 2000/11/07 Message-ID: <3A083465.816075B2@sw-design.ch> X-Deja-AN: 690850678 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 7 Nov 2000 08:45:30 -0800, 212.254.36.172 MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing