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


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

JTable (setForeground on

From ":-o" <:-o@THRWHITE.remove-dii-this>
Subject JTable (setForeground on
Message-ID <a8OdnarhHPmI6mvbnZ2dnUVZ_j6dnZ2d@comcast.com> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:39 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Thanks,

Based on Events/conditions , I need to set the text in a JTable cell from 
default color (black) to background color (white) to "hide" the text.  These 
conditions will force back/forth to the foreground coloring.

Is any one cell containing text a JTextField or JLabel?

How would I get a reference to the component to make the setForeground() call.

Thanks again.....

---
 * 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 | NextNext in thread | Find similar | Unroll thread


Thread

JTable (setForeground on ":-o" <:-o@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
  Re: JTable (setForeground "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000

csiph-web