JLabel Get Tooltip - Java Swing

Java examples for Swing:JLabel

Description

JLabel Get Tooltip

Demo Code


import javax.swing.JApplet;
import javax.swing.JLabel;
 
public class Main {
        public void init(){
                JLabel label1 = new JLabel("JLabel Get ToolTip Example.");
                String toolTipText = label1.getToolTipText();
        }//from   ww  w.  ja  va  2  s. c  om
}

Related Tutorials