Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import javax.swing.BorderFactory;
import javax.swing.JLabel;
import javax.swing.border.BevelBorder;

public class Main {
    public static void main(String[] argv) {
        BevelBorder loweredBevelBorder = (BevelBorder) BorderFactory.createLoweredBevelBorder();
        JLabel component = new JLabel("label");
        component.setBorder(loweredBevelBorder);

    }
}