Solved

ordering for adding components

Posted on 1998-04-23
1
161 Views
Last Modified: 2010-04-16
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?
0
Comment
Question by:felgen
1 Comment
 
LVL 6

Accepted Solution

by:
jpk041897 earned 100 total points
ID: 1219470
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question