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!

CSS background image not loading once deployed

CelerNov 12 2012 — edited Nov 24 2012
All

We have the following in our CSS
.loginPanel {
    -fx-background-color:-toolbar-background-color;
    -fx-background-image: url("images/company_logo_blue_80x240px.png");
    -fx-padding: 10 20 10 20; 
  	-fx-background-repeat: no-repeat;
  	-fx-background-position: top;
    -fx-effect: dropshadow(two-pass-box,black,5,.2,0,0);
    
}
When packaged and run on the same machine the images shows up. When deployed to another desktop the image is not shown.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 22 2012
Added on Nov 12 2012
9 comments
959 views