Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1873

Re: Change the color of t

From deel007@googlemail.com.remove-dii-this
Subject Re: Change the color of t
Message-ID <1182382596.455615.203790@n2g2000hse.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <4678255e$1@dnews.tpgi.com.au>
Date 2011-04-27 15:35 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui

>
> Open the source code of MetalIconFactory
> copy the static inner class CheckBoxIcon
> add it as an inner class to your program
> change the color in drawCheck()
> set the new icon, either
> a) use a CheckBox constructor with icon as argument, or
> b) *both* checkbox.setIcon(...) and checkbox.setSelectedIcon(...)

Thanks guys it works now.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Change the color of the c "deel007" <deel007@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
  Re: Change the color of t "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
    Re: Change the color of t "Laird Nelson" <laird.nelson@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
  Re: Change the color of t "Michael Dunn" <michael.dunn@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
    Re: Change the color of t deel007@googlemail.com.remove-dii-this - 2011-04-27 15:35 +0000

csiph-web