Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to create a rounded window inside JFXPanel

913421Jan 26 2012 — edited Oct 1 2013
Hi,

I have a Swing application and I want to use javafx inside it, so I am using JFXPanel.
I am trying to create a scene with rounded corners and this works fine. (see this post: 10011849 .
The problem is when I add the scene to a JFXPanel and then to a Jframe or Jdialog I can't control the corners of it, so I get a rounded corners of the scene but
the corners of the Jframe stays regular.
I tried to make the Jframe transparent but this was not good as well. Any ideas how to solve this?

thanks,
Leli
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 29 2013
Added on Jan 26 2012
4 comments
941 views