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


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

Re: Cell Renderer for JTa

From "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this>
Subject Re: Cell Renderer for JTa
Message-ID <1186094689.358559.253670@j4g2000prf.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <1186082088.639033.216250@m37g2000prh.googlegroups.com>
Date 2011-04-27 15:37 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
On Aug 2, 12:14 pm, cherryblossom <aarth...@gmail.com> wrote:
> Hello all,
>    Does anyone know if more than one column of a table in Swing can
> have a custom cell renderer set to it? I have a table in which setting
> a custom cell renderer for one column works fine, but when I set a
> renderer for one more column it causes issue with display of my GUI.
> The issue is that I see some parts of my GUI grayed out, that is not
> completely visible. Any help appreciated.
>
> thanks.

We might be able to help you better if you give us an SSCCE <http://
mindprod.com/jgloss/sscce.html> that demonstrates what you're talking
about.  You should be able to have a different custom cell renderer
for every cell in the table if you chose.

---
 * 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

Cell Renderer for JTable "cherryblossom" <cherryblossom@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
  Re: Cell Renderer for JTa "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000

csiph-web