« Return to Thread: Table painting bug ?

Table painting bug ?

by Bertrand Florat :: Rate this Message:

Reply to Author | View in Thread

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@...

ko.png (15K) Download Attachment
ok.png (15K) Download Attachment

 « Return to Thread: Table painting bug ?

LightInTheBox - Buy quality products at wholesale price!