jdk/src/java.desktop/share/classes/javax/swing/plaf/multi/MultiTextUI.java
changeset 42216 621af0ebf6c4
parent 41807 f9eb6cb54fed
equal deleted inserted replaced
42215:4efb5b19587b 42216:621af0ebf6c4
    83      *
    83      *
    84      * @return the value obtained from the first UI, which is
    84      * @return the value obtained from the first UI, which is
    85      * the UI obtained from the default <code>LookAndFeel</code>
    85      * the UI obtained from the default <code>LookAndFeel</code>
    86      * @since 1.4
    86      * @since 1.4
    87      */
    87      */
       
    88     @SuppressWarnings("deprecation")
    88     public String getToolTipText(JTextComponent a, Point b) {
    89     public String getToolTipText(JTextComponent a, Point b) {
    89         String returnValue =
    90         String returnValue =
    90             ((TextUI) (uis.elementAt(0))).getToolTipText(a,b);
    91             ((TextUI) (uis.elementAt(0))).getToolTipText(a,b);
    91         for (int i = 1; i < uis.size(); i++) {
    92         for (int i = 1; i < uis.size(); i++) {
    92             ((TextUI) (uis.elementAt(i))).getToolTipText(a,b);
    93             ((TextUI) (uis.elementAt(i))).getToolTipText(a,b);