[ 
https://issues.apache.org/jira/browse/PIVOT-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847389#action_12847389
 ] 

Chris Bartlett commented on PIVOT-436:
--------------------------------------

When I check the fix using the previously attached sample app, clicking the 2nd 
PushButton results in a warning.

Duplicate listener org.apache.pivot.wtk.desktopapplicationcontex...@1acd47 
added to org.apache.pivot.wtk.window$windowlistenerl...@19b04e2

I imagine this scenario is unlikely to be common, but thought it worth 
mentioning.  (The only reason I chose to use it in the sample app was to 
demonstrate the previous functionality)


> Window.setTitle() and Window.setIcon() do not change the equivalent Frame 
> properties once the Window has been opened. (DesktopApplicationContext)
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-436
>                 URL: https://issues.apache.org/jira/browse/PIVOT-436
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>    Affects Versions: 1.4
>         Environment: Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
> Windows 7 x64
>            Reporter: Chris Bartlett
>            Assignee: Greg Brown
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: DesktopApplicationContext_WindowTitle.zip
>
>
> Calling Window.setTitle() and Window.setIcon() before the window is displayed 
> sets the Frame title & icon respectively, but they have no subsequent effect 
> unless the window is closed and reopened.
> It would be simpler if calls to these methods would cause the Frame title & 
> icon to update.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to