Class MediaRes

java.lang.Object
org.opensourcephysics.media.core.MediaRes

public class MediaRes extends Object
String resources for media classes.
Version:
1.0
Author:
Douglas Brown
  • Method Details

    • setLocale

      public static void setLocale(Locale locale)
      Sets the locale.
      Parameters:
      locale - the locale
    • getString

      public static String getString(String key)
      Gets the localized value of a string. If no localized value is found, the key is returned surrounded by exclamation points.
      Parameters:
      key - the string to localize
      Returns:
      the localized string