« Return to Thread: Table painting bug ?

Re: Table painting bug ?

by Kirill Grouchnikov :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,

Would you mind attaching a simple test app that shows this behavior? Substance installs its own custom border on the scroll panes to make a single continuous border that blends with the scroll bars where necessary, and it looks like something is off in your particular case.

Thanks
Kirill

----- Original Message ----
From: Bertrand Florat <bertrand@...>
To: users@...
Sent: Monday, May 12, 2008 6:49:27 AM
Subject: Table painting bug ?

Hi Kyrill,

I use Substance 4.3_05 but I reproduced this problem in 4.2 too. Not
sure if it's a bug.

1- The table viewport is displayed with a white border when containing
items and black when it doesn't.
2-  The right-side part of the viewport is white and it makes the table
"unfinished"

I fixed both problems by forcing the scrollpane border:
JScrollPane jsp = new JScrollPane(jxtable);
jsp.setBorder(BorderFactory.createEmptyBorder(0, 1, 0, 0));

See provided screenshots without and with the fix.

Cheers,

- Bertrand

--
Bertrand FLORAT       
bertrand@...
http://www.florat.net
PGP keyserver:  pgp.mit.edu 
Try Jajuk Advanced jukebox (http://jajuk.info)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

 « Return to Thread: Table painting bug ?

LightInTheBox - Buy quality products at wholesale price!