Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import javax.swing.BoxLayout;
import javax.swing.JPanel;

public class Main {
    public static JPanel createLineBoxLaidOutPanel() {
        final JPanel p = new JPanel();
        p.setLayout(new BoxLayout(p, BoxLayout.LINE_AXIS));
        return p;
    }
}