Initializing virtual machine that subsequently executes application
First Claim
1. A computer program product comprising instructions for causing a processor of a computer to initialize a virtual machine (VM) that subsequently executes an application to render an object on a display of the computer, the computer program product causing to initialize the VM by the following steps:
- providing a class that includes a variable, the variable being part of the application;
selecting a property value that determines to selectively render the object from a first object set or from a second object set;
reading an object representation for the variable from a markup language document in dependence on the property value from a first representation set or from a second representation set; and
assigning the object representation to the variable in the class.
3 Assignments
0 Petitions
Accused Products
Abstract
A method and a system for selecting a desired language for text displays in a Java-Type language is provided. A localization class in the loadable Java program defines the text portions of the displays. At start of the application (200), the Java virtual machine (150) loads this class and a determination is made, by user input or otherwise, of which of a group of languages available should be used for the text. Based on the determination, the static initializer Java-type code is invoked, and it loads (13) the appropriate language text from a markup language document, preferably an XML document. The appropriate text segments from the markup language document are then used to initialize the variables (17). The application then can proceed to run as usual (25). Preferably, after the static initialization, the fields of the localization class are checked to confirm that all fields contain text.
56 Citations
16 Claims
-
1. A computer program product comprising instructions for causing a processor of a computer to initialize a virtual machine (VM) that subsequently executes an application to render an object on a display of the computer,
the computer program product causing to initialize the VM by the following steps: -
providing a class that includes a variable, the variable being part of the application;
selecting a property value that determines to selectively render the object from a first object set or from a second object set;
reading an object representation for the variable from a markup language document in dependence on the property value from a first representation set or from a second representation set; and
assigning the object representation to the variable in the class. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method to initialize a virtual machine (VM) that subsequently executes an application render an object on a display of a computer, the method comprising:
-
providing a class that includes a variable, the variable being part of the application;
selecting a property value that determines to selectively render the object from a first object set or from a second object set;
reading an object representation for the variable from a markup language document in dependence on the property value from a first representation set or from a second representation set; and
assigning the object representation to the variable in the class. - View Dependent Claims (10, 11, 12)
-
-
13. A computer system that initializes a virtual machine (VM), for subsequently executing an application that renders an object on a display of a computer, the computer system comprising:
-
a class provider for providing a class that includes a variable, the variable being part of the application;
a property value selector as a means for selecting a property value that determines to selectively render the object from a first object set or from a second object set; and
a reader for reading an object representation for the variable from a markup language document in dependence on the property value from a first representation set or from a second representation set and for assigning the object representation to the variable in the class. - View Dependent Claims (14, 15, 16)
-
Specification