FileDocCategorySizeDatePackage
ModifiedLocaleApplet.javaAPI DocExample965Wed Jan 17 20:17:48 GMT 2001None

ModifiedLocaleApplet

public class ModifiedLocaleApplet extends Applet

Fields Summary
TextField
LocaleDisplayField
Constructors Summary
Methods Summary
public voidinit()


     
    setLayout(null);
    setSize(250,96);
    add(LocaleDisplayField);
    LocaleDisplayField.setBounds(24,36,205,24);

    // Display the default locale
    System.out.println(Locale.getDefault().getDisplayName());
    LocaleDisplayField.setText(Locale.getDefault().toString());