摘要 |
A method and device for localizing Java edit boxes are provided. The method includes: when a user selects a Java edit box from a Java Platform 2 Micro Edition (J2ME) client interface, a Java virtual machine creates a local edit box for the Java edit box and presents the local edit box to the user; and the Java virtual machine replaces any new Java edit box which is selected by the user with the local edit box and presents the local edit box to the user. The number of the local input box controlled by the virtual machine is only one, therefore the technical solution solves the problem of localizing the Java edit box individually, localization can be realized more simply with the method of the disclosure compared to the method using multiple local edit boxes controls to implement the localization, and the user experience and feelings are also improved. |