Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is a certain Look and Feel guaranteed to be available?

From what I've found out, the Nimbus Look and Feel was introduced in Java 6 Update 10.

I have project where I use that Look and Feel.

Is there any situation where, the user has a Java VM newer than 6 update 10 (for example 6 update 26) and the Nimbus Look and Feel is not available ? This situation might occur if for example, Look and Feels can be manually/explicitly removed, but I've not been able to find out if this can be done.

So basically, is there a 100 % guarantee that, if the user has the proper Java VM version, the Nimbus Look and Feel will be available 100 % of the time ?

Thank you in advance.

like image 637
Radu Murzea Avatar asked Jan 09 '12 18:01

Radu Murzea


People also ask

What colors make people trust you?

Blue is one of the most popular colours in web design – and for good reason. You see blue on a lot of websites because, to put it simply, it is the colour of trust. Blue is the colour of calm and serenity, and as such inspires security and a feeling of safety.

What are the 7 nonverbal communication?

These nonverbal communication types are facial expressions, gestures, paralinguistics (such as loudness or tone of voice), body language, proxemics or personal space, eye gaze, haptics (touch), appearance, and artifacts.

What color website attracts most?

Blue: the most versatile and universally liked. Blue has been shown to inspire feelings of trust, making it a heavy favorite in website color schemes. Purple: creativity, wisdom and confidence. Purple is a unique, strong color to use within a website color scheme as it demands attention and stands out.


2 Answers

There's no clear way for a user to remove a particular Look & Feel from their JVM. Anything is possible, though.

What's wrong with just checking for it in the code?

like image 84
gmoore Avatar answered Sep 28 '22 02:09

gmoore


In Java 7 the package path is changed ("sun" removed: com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel): javax.swing.plaf.nimbus.NimbusLookAndFeel, so it depends how you invoke the look and feel. In general this action of oracle might be seen as a positive endorsement of the nimbus look and feel.

like image 23
Joop Eggen Avatar answered Sep 28 '22 03:09

Joop Eggen