ordering for adding components

There is a difference between Navigator and IE
in displaying components depending on the order
they are added. I want to display a backgroundimage.
The Navigator displays a backgroundimage below the
other components if it is added first. The IE if added
at last.
My question:

Is there a possibility to controll this ordering?
If not, how can I get the Information which ordering
is used or which Browser is displaying my applet?
felgenAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jpk041897Commented:
You cant control the ordering, as the only spec that is standarized is that the ordering defines the controls tab order.

What you can figure out is which browser you are using.

Call:

 java.lang.System.getProperty(String key);

and use "java.vendor" with or without also using the keys "java.version" and "os.name".

Using these 3 keys you can get all the info that you need on what browser/version you are running on and then be able to make implementation decitions based on that.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.