JLabel Example Multiline Text Java Swing

One of the important features of JLabel is it can be displayed as multiple lines of text with bullets, a very contrast of AWT Label which gives only one line of text. We use HTML here. Following code on JLabel Example explains. import javax.swing.* ; import java.awt.*; import java.awt.event.*; public class JLabelDemo3 extends JFrame { …

JLabel Example Multiline Text Java Swing Read More »