pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gunnar Kappei (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIVOT-952) Animation/Transition not working properly when integrated with Swing
Date Mon, 21 Jul 2014 16:30:40 GMT

     [ https://issues.apache.org/jira/browse/PIVOT-952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gunnar Kappei updated PIVOT-952:
--------------------------------

    Attachment: Pivot-Swing-Demo.zip

Attached sources of a working solution for displaying Pivot-content in a Swing-environment
(in a JFrame).

Notice:
There are rendering issues when resizing the host-frame, if you enable the uses of VolatileImage
for painting.

To reproduce, edit the initDisplayHost() method of the PivotHostFrame class.

Change 'displayHost.setVolatileImagePaintingEnabled(false)' to 'true' (which is the default-setting
of Pivot). 

After startup, just resize the host-frame. Strange rendering is taking place. While this is
true for Win 7, JDK8u5. Cannot reproducethe issue on XUbuntu 14.04, JDK8.

> Animation/Transition not working properly when integrated with Swing
> --------------------------------------------------------------------
>
>                 Key: PIVOT-952
>                 URL: https://issues.apache.org/jira/browse/PIVOT-952
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk, wtk-effects
>    Affects Versions: 2.0.4
>         Environment: Windows 7
>            Reporter: Michel Eisenmann
>            Assignee: Roger Whitcomb
>            Priority: Minor
>             Fix For: 2.1, 2.0.5
>
>         Attachments: Pivot-Swing-Demo.zip, test_java.zip
>
>
> Animation/Transition is happening only when moving the mouse. Could be an issue with
event loop?
> To reproduce
> - start sample: java -jar testJava.jar
> - a window pops.
> - click on New button
> - another window pops
> - click on Next button -> accordion animation happens only when moving the mouse.
> Interesting classes
> LocalApplicationContext -> to start the timer
> NewPlanAreaBxml -> initializePanel method -> to link Swing and Pivot



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message