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 not loaded on Windows 7 when logged in as normal user

3037254Sep 23 2015 — edited Sep 30 2015

Hi

I've build a JavaFX application.

I dynamically load a css file from the user.home folder.

I use the native packaging option with Netbeans

I tested the application on different platform Windows 7 32bit, Windows 10 64 bit, OS-X and all works perfect.

Yesterday installed at a end-user who has Windows 7 64bit.

His user account is NOT belonging to the administrator group.

When the application starts the layout is scrambled as if the CSS is not loaded.

I don't see any exceptions in the log.

I add the stylesheet like this:

        scene.getStylesheets().add("file:" + f.getAbsolutePath().replace("\\", "/"));

Note that this works fine when running the application as administrator.

Has anybody have some pointers?

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 28 2015
Added on Sep 23 2015
2 comments
888 views