Skip to main content

Fx Panel mixed with Swing affects JGoodies LAF

3 replies [Last post]
caultonpos
Offline
Joined: 2007-09-14

Hi,

Running Java 1.6 I used JGoodies and have successfully added a JavaFX generated panel into the frame. It is a little slow though caching the engine creation helps a little.

However after running it seems to screw up my LAF - the buttons are no longer 3d and there are extra lines on tabs and tables that weren't there before.

Obviously this is alpha code but if it could restrict itself to not do that I could incorporate it into my open source system which would be cool.

Greg

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alexsch
Offline
Joined: 2007-07-12

Please, file your issue in http://openjfx.java.sun.com/jira

caultonpos
Offline
Joined: 2007-09-14

Well one thing I am confused with is whether this is an OpenJFX compiler issue or not - I am not compiling anything explicitly - I just downloaded javafxft.jar and Filters.jar and run the script engine - is openjfx the same code base such that I should log the issue against it?

alexsch
Offline
Joined: 2007-07-12

It seems that javafx.ui.UIElement class sets Java LAF during JavaFX UI library initilization.
So a workaround can be setting JGoodies LAF after JavaFX panel creating in Java code.