Method getString(String key)
Return type: java.lang.String
Member of: java.util.ResourceBundle
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 JMenuItem newMenuItem = new JMenuItem(res.getString("New"));
2 JMenuItem openMenuItem = new JMenuItem(res.getString("Open"));
3 JLabel sysNameLabel = new JLabel(rb.getString("LabelSystemName"));
4 JLabel userNameLabel = new JLabel(rb.getString("LabelUserName"));
5 private final JButton stdYesButton = new JButton(NbBundle.getBundle(NbPresenter.class).getString("YES_OPTION_CAPTION")); // NOI18N
6 private final JButton stdNoButton = new JButton(NbBundle.getBundle(NbPresenter.class).getString("NO_OPTION_CAPTION")); // NOI18N
7 setTitle(wb.getLang().getString("help"));
8 nameLabel.setText(resource.getString("NAME"));
9 setTitle(wb.getLang().getString("calendarSelection"));
10 this (null, s_res.getString("FontChooser"), null);
11 return new ParseException(this.resources.getString(key), loc);
12 final String message = MessageFormat.format(m_bundle.getString(code),
13 String msg = _res.getString(msgrsrc);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.