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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Scene Builder - buttom background image

lehelsiposApr 2 2014 — edited Apr 3 2014

Hi,

  Using css I can set a background image to a javafx button with:
-fx-background-image: url("../images/play.png");

But in Scene Builder I can not to this, having an fxml. I set the style like in css but does not work.
Is this a scene builder error? Any other property i can set, but not the background image. For example -fx-background-color it works....

what is the problem?

thanks,
Lehel

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 1 2014
Added on Apr 2 2014
4 comments
8,330 views