/** * @see PromptSupport#setBackground(Color, javax.swing.text.JTextComponent) */ public void setPromptBackround(Color promptTextColor) { PromptSupport.setBackground(promptTextColor, this); }
/** * @see PromptSupport#setBackground(Color, javax.swing.text.JTextComponent) */ public void setPromptBackround(Color promptTextColor) { PromptSupport.setBackground(promptTextColor, this); }
/** * @see PromptSupport#setBackground(Color, javax.swing.text.JTextComponent) */ public void setPromptBackround(Color promptTextColor) { PromptSupport.setBackground(promptTextColor, this); }
/** * @see PromptSupport#setBackground(Color, javax.swing.text.JTextComponent) */ public void setPromptBackround(Color promptTextColor) { PromptSupport.setBackground(promptTextColor, this); }
/** * @see PromptSupport#setBackground(Color, javax.swing.text.JTextComponent) */ public void setPromptBackround(Color promptTextColor) { PromptSupport.setBackground(promptTextColor, this); }
/** * @see PromptSupport#setBackground(Color, javax.swing.text.JTextComponent) */ public void setPromptBackround(Color promptTextColor) { PromptSupport.setBackground(promptTextColor, this); }
/** * @see PromptSupport#setBackground(Color, javax.swing.text.JTextComponent) */ public void setPromptBackround(Color promptTextColor) { PromptSupport.setBackground(promptTextColor, this); }
/** * @see PromptSupport#setBackground(Color, javax.swing.text.JTextComponent) */ public void setPromptBackround(Color promptTextColor) { PromptSupport.setBackground(promptTextColor, this); }
/** * @see PromptSupport#setBackground(Color, javax.swing.text.JTextComponent) */ public void setPromptBackround(Color promptTextColor) { PromptSupport.setBackground(promptTextColor, this); }
/** * @see PromptSupport#setBackground(Color, javax.swing.text.JTextComponent) */ public void setPromptBackround(Color promptTextColor) { PromptSupport.setBackground(promptTextColor, this); }
/** * @see PromptSupport#setBackground(Color, javax.swing.text.JTextComponent) */ public void setPromptBackround(Color promptTextColor) { PromptSupport.setBackground(promptTextColor, this); }
/** * @see PromptSupport#setBackground(Color, javax.swing.text.JTextComponent) */ public void setPromptBackround(Color promptTextColor) { PromptSupport.setBackground(promptTextColor, this); }
/** * <p> * Convenience method to set the <code>promptText</code> and * <code>promptTextColor</code> on a {@link JTextComponent}. * </p> * <p> * If <code>stayOnUIChange</code> is true, The prompt support will stay * installed, even when the text components UI changes. See * {@link #install(JTextComponent, boolean)}. * </p> * * @param promptText * @param promptForeground * @param promptBackground * @param textComponent */ public static void init(String promptText, Color promptForeground, Color promptBackground, final JTextComponent textComponent) { if (promptText != null && promptText.length() > 0) { setPrompt(promptText, textComponent); } if (promptForeground != null) { setForeground(promptForeground, textComponent); } if (promptBackground != null) { setBackground(promptBackground, textComponent); } }
/** * <p> * Convenience method to set the <code>promptText</code> and * <code>promptTextColor</code> on a {@link JTextComponent}. * </p> * <p> * If <code>stayOnUIChange</code> is true, The prompt support will stay * installed, even when the text components UI changes. See * {@link #install(JTextComponent, boolean)}. * </p> * * @param promptText * @param promptForeground * @param promptBackground * @param textComponent */ public static void init(String promptText, Color promptForeground, Color promptBackground, final JTextComponent textComponent) { if (promptText != null && promptText.length() > 0) { setPrompt(promptText, textComponent); } if (promptForeground != null) { setForeground(promptForeground, textComponent); } if (promptBackground != null) { setBackground(promptBackground, textComponent); } }
/** * <p> * Convenience method to set the <code>promptText</code> and * <code>promptTextColor</code> on a {@link JTextComponent}. * </p> * <p> * If <code>stayOnUIChange</code> is true, The prompt support will stay * installed, even when the text components UI changes. See * {@link #install(JTextComponent, boolean)}. * </p> * * @param promptText * @param promptForeground * @param promptBackground * @param textComponent */ public static void init(String promptText, Color promptForeground, Color promptBackground, final JTextComponent textComponent) { if (promptText != null && promptText.length() > 0) { setPrompt(promptText, textComponent); } if (promptForeground != null) { setForeground(promptForeground, textComponent); } if (promptBackground != null) { setBackground(promptBackground, textComponent); } }
/** * <p> * Convenience method to set the <code>promptText</code> and * <code>promptTextColor</code> on a {@link JTextComponent}. * </p> * <p> * If <code>stayOnUIChange</code> is true, The prompt support will stay * installed, even when the text components UI changes. See * {@link #install(JTextComponent, boolean)}. * </p> * * @param promptText * @param promptForeground * @param promptBackground * @param textComponent */ public static void init(String promptText, Color promptForeground, Color promptBackground, final JTextComponent textComponent) { if (promptText != null && promptText.length() > 0) { setPrompt(promptText, textComponent); } if (promptForeground != null) { setForeground(promptForeground, textComponent); } if (promptBackground != null) { setBackground(promptBackground, textComponent); } }