Fixes for sunbug 7026933 and 4310381 (original) (raw)
Charles Lee littlee at linux.vnet.ibm.com
Wed Mar 21 09:42:40 UTC 2012
- Previous message: Review request for 7154030: java.awt.Component.hide() does not repaint parent container
- Next message: Fixes for sunbug 7026933 and 4310381
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi guys,
I am trying to fix 7026933 and 4310381.
Patch @ http://cr.openjdk.java.net/~littlee/7026933/webrev.00/ <http://cr.openjdk.java.net/%7Elittlee/7026933/webrev.00/>
The test case is @ 4310381 and 7026933.
My patch fix the padding problem on all the tabs except the top tab. The reason about this is Metal look and feel does not want to pad the last one. Please check the code in MetalTabbedPaneUI:
// Don't pad last run protected boolean shouldPadTabRun( int tabPlacement, int run ) { return runCount > 1 && run < runCount - 1; }
Does anyone has some knowledge about this? If metal does not want pad that tab, my patch should be consider fixing the problem :-)
-- Yours Charles
- Previous message: Review request for 7154030: java.awt.Component.hide() does not repaint parent container
- Next message: Fixes for sunbug 7026933 and 4310381
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]