/** * Sets the text for the label or other subclass of JLabel. * For details see {@link #setLocalizedText(AbstractButton, String)}. * @param item a label whose text will be set * @param text new label */ public static void setLocalizedText(JLabel item, String text) { setLocalizedText2(item, text); }
/** * Sets the text for a menu item or other subclass of AbstractButton. * <p>Examples:</p> * <table cellspacing="2" cellpadding="3" border="1"> * <tr><th>Input String</th> <th>View under JDK 1.4 or later</th></tr> * <tr><td><code>Save &As<code></td> <td>Save <u>A</u>s</td></tr> * <tr><td><code>Rock & Roll<code></td> <td>Rock & Roll</td></tr> * <tr><td><code>Drag & &Drop<code></td> <td>Drag & <u>D</u>rop</td></tr> * <tr><td><code>&Файл</code></td> <td><u>Ф</u>айл</td></tr> * </table> * @param item a button whose text will be changed * @param text new label */ public static void setLocalizedText(AbstractButton item, String text) { setLocalizedText2(item, text); }
/** * Sets the text for the label or other subclass of JLabel. * For details see {@link #setLocalizedText(AbstractButton, String)}. * @param item a label whose text will be set * @param text new label */ public static void setLocalizedText(JLabel item, String text) { setLocalizedText2(item, text); }
/** * Sets the text for the label or other subclass of JLabel. * For details see {@link #setLocalizedText(AbstractButton, String)}. * @param item a label whose text will be set * @param text new label */ public static void setLocalizedText(JLabel item, String text) { setLocalizedText2(item, text); }
/** * Sets the text for a menu item or other subclass of AbstractButton. * <p>Examples:</p> * <table cellspacing="2" cellpadding="3" border="1"> * <tr><th>Input String</th> <th>View under JDK 1.3</th> <th>View under JDK 1.4 or later</th></tr> * <tr><td><code>Save &As<code></td> <td>S<u>a</u>ve As</td> <td>Save <u>A</u>s</td></tr> * <tr><td><code>Rock & Roll<code></td> <td>Rock & Roll</td> <td>Rock & Roll</td></tr> * <tr><td><code>Drag & &Drop<code></td> <td><u>D</u>rag & Drop</td> <td>Drag & <u>D</u>rop</td></tr> * <tr><td><code>&Файл</code></td> <td>Файл (<u>F</u>)</td> <td><u>Ф</u>айл</td></tr> * </table> * @param item a button whose text will be changed * @param text new label */ public static void setLocalizedText(AbstractButton item, String text) { setLocalizedText2(item, text); }
/** * Sets the text for a menu item or other subclass of AbstractButton. * <p>Examples:</p> * <table cellspacing="2" cellpadding="3" border="1"> * <tr><th>Input String</th> <th>View under JDK 1.3</th> <th>View under JDK 1.4 or later</th></tr> * <tr><td><code>Save &As<code></td> <td>S<u>a</u>ve As</td> <td>Save <u>A</u>s</td></tr> * <tr><td><code>Rock & Roll<code></td> <td>Rock & Roll</td> <td>Rock & Roll</td></tr> * <tr><td><code>Drag & &Drop<code></td> <td><u>D</u>rag & Drop</td> <td>Drag & <u>D</u>rop</td></tr> * <tr><td><code>&Файл</code></td> <td>Файл (<u>F</u>)</td> <td><u>Ф</u>айл</td></tr> * </table> * @param item a button whose text will be changed * @param text new label */ public static void setLocalizedText(AbstractButton item, String text) { setLocalizedText2(item, text); }