JLabel - Online Code


This is the Code which demonstrates how you can use JLabel with text; JLabel with ImageIcon; JLabel with ImageIcon and text; JLabel with ImageIcon, text and a button.

Source Code

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;

public class JLabelUses extends JFrame {

    private JLabel label1,  label2,  label3;

    public JLabelUses() {

... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.

Related Online Codes:


No comment yet. Be the first to post a comment.