You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by moosbusch <gk...@web.de> on 2014/07/19 19:36:13 UTC
Re: Swing and Pivot Integration using JPanel
Hi,
I came across this thread while I was working on a similar subject.
I needed to display my Pivot-application in a JFrame.
I didn't succeed at first, although i followed the steps related to
event-handling mentioned above.
Finally, I got a working solution:
After calling setVolatileImagePaintEnabled(false) on the DisplayHost all
rendering issues were gone
(Win 7, JDK 8u5, Pivot 2.04). I wonder if there's a need to use
VolatileImages at all?
I tried displaying an Accordion which worked just fine! Animations are
working well.
I could share the code if you want.
Sincerely,
Gunnar
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Swing-and-Pivot-Integration-using-JPanel-tp4022931p4022972.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
RE: Swing and Pivot Integration using JPanel
Posted by Roger Whitcomb <Ro...@actian.com>.
Thanks, Gunnar. I will look at this probably tomorrow.
~Roger
From: moosbusch [mailto:gkappei@web.de]
Sent: Monday, July 21, 2014 9:44 AM
To: user@pivot.apache.org
Subject: Re: Swing and Pivot Integration using JPanel
Hi Roger,
I've been able to provide a little app that suffers from the issues I
talked about. I attached the source to Jira (Pivo-952). Seems to be an
issue related to Windows. More information is provided via Jira.
@ Michel:
Mabe the code is helpful as a starting-point for your own development.
Please feel free to use it.
Sincerely,
Gunnar Kappei
________________________________
View this message in context: Re: Swing and Pivot Integration using JPanel<http://apache-pivot-users.399431.n3.nabble.com/Swing-and-Pivot-Integration-using-JPanel-tp4022931p4022974.html>
Sent from the Apache Pivot - Users mailing list archive<http://apache-pivot-users.399431.n3.nabble.com/> at Nabble.com.
Re: Swing and Pivot Integration using JPanel
Posted by moosbusch <gk...@web.de>.
Hi Roger,
I've been able to provide a little app that suffers from the issues I
talked about. I attached the source to Jira (Pivo-952). Seems to be an
issue related to Windows. More information is provided via Jira.
@ Michel:
Mabe the code is helpful as a starting-point for your own development.
Please feel free to use it.
Sincerely,
Gunnar Kappei
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Swing-and-Pivot-Integration-using-JPanel-tp4022931p4022974.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
Re: Swing and Pivot Integration using JPanel
Posted by Roger Whitcomb <Ro...@rbwhitcomb.com>.
Hi Gunnar,
That's a very interesting find. I would be very interested if you share your code, or even just a minimal app that works.
Thank you,
~Roger Whitcomb
Sent from my iPhone
> On Jul 19, 2014, at 10:36 AM, moosbusch <gk...@web.de> wrote:
>
> Hi,
>
> I came across this thread while I was working on a similar subject.
> I needed to display my Pivot-application in a JFrame.
>
> I didn't succeed at first, although i followed the steps related to
> event-handling mentioned above.
>
> Finally, I got a working solution:
>
> After calling setVolatileImagePaintEnabled(false) on the DisplayHost all
> rendering issues were gone
> (Win 7, JDK 8u5, Pivot 2.04). I wonder if there's a need to use
> VolatileImages at all?
>
> I tried displaying an Accordion which worked just fine! Animations are
> working well.
>
> I could share the code if you want.
>
> Sincerely,
>
> Gunnar
>
>
>
> --
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Swing-and-Pivot-Integration-using-JPanel-tp4022931p4022972.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>