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


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

Re: JTable Row Height Pro

From "Sabine Dinis Blochberger" <sabine.dinis.blochberger@THRWHITE.remove-dii-this>
Subject Re: JTable Row Height Pro
Message-ID <ZrydnYYlVKi4DV_anZ2dnUVZ8t2snZ2d@novis.pt> (permalink)
Newsgroups comp.lang.java.gui
References <de85b282-25d9-46fc-b28a-d8feada5e7ae@e60g2000hsh.googlegroups.com>
Date 2011-04-27 15:43 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Edsoncv wrote:

> I'm having the following problem while configuring a JTable row
> height.
> The fact is when my row height does not have the exactly heigth of
> "row header", exactly figure bellow:
> 
<snip>
> 
>     rowHeader.setFixedCellHeight(table.getRowHeight()
>                                + table.getRowMargin());
> //                             + table.getIntercellSpacing().height);
>     rowHeader.setCellRenderer(new RowHeaderRenderer(table));
> 
>
Since you say the size increases for subsequent rows, maybe you are
adding too many values here multiple times. getRowHeight() might already
include the margin and spacing you added previously...
-- 
Sabine Dinis Blochberger

Op3racional
www.op3racional.eu

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

JTable Row Height Problem "Edsoncv" <edsoncv@THRWHITE.remove-dii-this> - 2011-04-27 15:43 +0000
  Re: JTable Row Height Pro "Sabine Dinis Blochberger" <sabine.dinis.blochberger@THRWHITE.remove-dii-this> - 2011-04-27 15:43 +0000

csiph-web