harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2711) [classlib][swing] j.s.JColorChooser should use "ColorChooser.swatchesDefaultRecentColor" L&F key
Date Tue, 16 Jan 2007 01:30:27 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-2711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465031
] 

Vasily Zakharov commented on HARMONY-2711:
------------------------------------------

I couldn't reproduce the issue - the attached program crashes on r496561 with the following
exception:

C:\> HarmonyTrunk\working_classlib\deploy\jdk\jre\bin\java HTest2711
java.lang.NullPointerException
        at javax.swing.plaf.basic.BasicInternalFrameTitlePane.<init>(BasicInternalFrameTitlePane.java:423)
        at javax.swing.plaf.metal.MetalInternalFrameTitlePane.<init>(MetalInternalFrameTitlePane.java:96)
        at javax.swing.plaf.metal.MetalRootPaneTitlePane.<init>(MetalRootPaneTitlePane.java:190)
        at javax.swing.plaf.metal.MetalRootPaneUI.createTitlePane(MetalRootPaneUI.java:448)
        at javax.swing.plaf.metal.MetalRootPaneUI.installWindowDecorations(MetalRootPaneUI.java:393)
        at javax.swing.plaf.metal.MetalRootPaneUI.propertyChange(MetalRootPaneUI.java:372)
        at java.beans.PropertyChangeSupport.doFirePropertyChange(PropertyChangeSupport.java:342)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:62)
        at java.awt.Component.firePropertyChangeImpl(Component.java:1666)
        at java.awt.Component.firePropertyChange(Component.java:1670)
        at javax.swing.JComponent.firePropertyChange(JComponent.java:56)
        at javax.swing.JRootPane.setWindowDecorationStyle(JRootPane.java:229)
        at javax.swing.JDialog.dialogInit(JDialog.java:486)
        at javax.swing.JDialog.<init>(JDialog.java:93)
        at javax.swing.JDialog.<init>(JDialog.java:129)
        at javax.swing.JDialog.<init>(JDialog.java:241)
        at javax.swing.JColorChooser.createDialog(JColorChooser.java:120)
        at javax.swing.JColorChooser.showDialog(JColorChooser.java:15)
        at HTest2711$1.run(HTest2711.java:14)
        at java.awt.event.InvocationEvent.runAndNotify(InvocationEvent.java:98)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:78)
        at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java:138)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:144)
        at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java:74)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:48)

Looking at the stack, it seems fixing issues HARMONY-2666 caused this problem.

Though it's unclear why frame is null at BasicInternalFrameTitlePane initialization, probably
some other issues exist that prevent application from running.


> [classlib][swing] j.s.JColorChooser should use "ColorChooser.swatchesDefaultRecentColor"
L&F key
> ------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2711
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2711
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>            Priority: Minor
>         Attachments: H2711-Harmony.png, H2711-RI.png, HTest2711.java
>
>
> "ColorChooser.swatchesDefaultRecentColor" L&F key defines which color is displayed
in Recent swatches of JColorChooser.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message