<Swing Dev> [9] Review Request for 8062525: JInternalFrame can't show correctly with the specical option "-esa -ea -Xcheck:jni -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel".

Semyon Sadetsky semyon.sadetsky at oracle.com
Thu Sep 24 16:12:52 UTC 2015



On 9/24/2015 6:27 PM, Alexander Scherbatiy wrote:
> On 9/24/2015 5:28 PM, Semyon Sadetsky wrote:
>>
>>
>> On 9/24/2015 4:56 PM, Alexander Scherbatiy wrote:
>>>
>>>   Does a component from a SynthContext always has a parent and a 
>>> parent of the parent?
>> yes. It is the same usage as in the paintButtonBackground() method 
>> which calls updateFrameGeometry(). 
>
>    Is there any relation between the titlePane variable on line: 1469 
> and the pane that you takes by comp.getParent()?
titlePane will be null if comp is a button.
>
>   Thanks,
>   Alexandr.
>>>
>>>   Thanks,
>>>   Alexandr.
>>>
>>> On 9/21/2015 2:33 PM, Semyon Sadetsky wrote:
>>>>
>>>> Hello,
>>>>
>>>> Please review fix for JDK9:
>>>> bug: https://bugs.openjdk.java.net/browse/JDK-8062525
>>>> webrev: http://cr.openjdk.java.net/~ssadetsky/8062525/webrev.00/
>>>>
>>>> In the type check of the updateFrameGeometry() method the internal 
>>>> frame
>>>> title buttons was not taken into account.
>>>>
>>>> --Semyon
>>>>
>>>>
>>>>
>>>
>>
>




More information about the swing-dev mailing list