Example usage for javax.swing Box subclass-usage

List of usage examples for javax.swing Box subclass-usage

Introduction

In this page you can find the example usage for javax.swing Box subclass-usage.

Usage

From source file Main.java

public class Main extends Box {
    JFrame frame;
    JTextArea text = new JTextArea("this is a test");

    public Main(JFrame frame) {
        super(BoxLayout.Y_AXIS);

From source file Main.java

public class Main extends Box {

    public Main() {
        super(BoxLayout.Y_AXIS);
        try {
            for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {

From source file Main.java

public class Main extends Box {
    Box container;
    Dimension minSize = new Dimension(400, 300);

    public Main(int axis) {
        super(BoxLayout.Y_AXIS);

From source file Main.java

public class Main extends Box {

    public Main() {
        super(BoxLayout.Y_AXIS);

        Box info = Box.createVerticalBox();

From source file Main.java

public class Main extends Box {
    public Main() {
        super(BoxLayout.Y_AXIS);
        DefaultMutableTreeNode root = new DefaultMutableTreeNode("Root");
        for (int i = 0; i < 14; i++) {
            DefaultMutableTreeNode node = new DefaultMutableTreeNode("Root" + i);

From source file Main.java

public class Main extends Box {
    JPanel glassPane = new JPanel() {
        public void paintComponent(Graphics g) {
            g.setColor(new Color(0, 0, 0, 80));
            g.fillRect(0, 0, getWidth(), getHeight());
            g.setColor(Color.white);

From source file Main.java

class PopupMenu extends Box {
    Dimension preferredSize = new Dimension(400, 30);

    public PopupMenu() {
        super(BoxLayout.Y_AXIS);
        final JPopupMenu menu = new JPopupMenu("Options");

From source file RGBAColourChooser.java

/**
 * A widget to manipulate an RGBA colour.
 * 
 * @author ryanm
 */
public class RGBAColourChooser extends Box implements ChangeListener {

From source file org.gitools.ui.core.components.boxes.DetailsBox.java

/**
 * Create a property table panel
 */
public abstract class DetailsBox extends Box {
    private static final int DEFAULT_MARGIN = 20;
    private static final int MINIMUM_VALUE_LENGTH = 12;

From source file AppearanceExplorer.java

class ColoringAttributesEditor extends Box implements Java3DExplorerConstants {

    ColoringAttributes coloringAttr;

    Color3f color = new Color3f();