Show Or Hide JLabel - Java Swing

Java examples for Swing:JLabel

Description

Show Or Hide JLabel

Demo Code

 
import java.awt.Color;
 
import javax.swing.JApplet;
import javax.swing.JLabel;
 
public class Main {
       //www. j ava 2  s . c o  m
        public void init(){
                JLabel label1 = new JLabel("JLabel Show Or Hide Example.");
                label1.setVisible(false);
        }
}

Related Tutorials