<Swing Dev> Bug: JDK-7190596 Nimbus: preferred sizes of components not less than that of tabbed pane

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Thu Sep 3 13:58:58 UTC 2015


On 8/31/2015 3:44 PM, Rajeev Chamyal wrote:
> Hi,
>
> Please review the following fix for jdk9:
>   
> Bug:https://bugs.openjdk.java.net/browse/JDK-7190596  
>
> Webrev : 
> http://cr.openjdk.java.net/~psadhukhan/rajeev/7190596/webrev.00/ 
> <http://cr.openjdk.java.net/%7Epsadhukhan/rajeev/7190596/webrev.00/>
>
> Nimbus looks and feel is not setting default Insets for the parent component which results in same size for parent and child components.
> Added a default Insets value for Nimbus look and feel, similar to other layouts.

    What is the reason that a tabbed pane width can't be equal to the 
width a panel which contains the tabbed pane?

    Thanks,
    Alexandr.

>   
> Regards,
> Rajeev Chamyal
>




More information about the swing-dev mailing list