Logo Search packages:      
Sourcecode: jmk version File versions  Download package

static String edu::neu::ccs::jmk::awt::MakeWindow::getResourceString ( String  nm,
String  defaultValue 
) [inline, static, private]

Get a string from a ResourceBundle.

Parameters:
nm name of key
Returns:
resource as a string or defaultValue on error

Definition at line 494 of file MakeWindow.java.

References resources.

                                                                          {
    if (resources == null)
      return defaultValue;
    try {
      return resources.getString(nm);
    }
    catch (MissingResourceException mre) {
      return defaultValue;
    }
  }


Generated by  Doxygen 1.6.0   Back to index