ch.zhaw.ads.Bla.java Source code

Java tutorial

Introduction

Here is the source code for ch.zhaw.ads.Bla.java

Source

/*
 * Created by JFormDesigner on Sun Mar 25 16:32:33 CEST 2012
 */

package ch.zhaw.ads;

import javax.swing.*;
import com.jgoodies.forms.layout.*;

/**
 * @author nicam nicamson
 */
public class Bla extends JPanel {
    public Bla() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
        // Generated using JFormDesigner Evaluation license - nicam nicamson

        //======== this ========

        // JFormDesigner evaluation mark
        setBorder(
                new javax.swing.border.CompoundBorder(
                        new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
                                "JFormDesigner Evaluation", javax.swing.border.TitledBorder.CENTER,
                                javax.swing.border.TitledBorder.BOTTOM,
                                new java.awt.Font("Dialog", java.awt.Font.BOLD, 12), java.awt.Color.red),
                        getBorder()));
        addPropertyChangeListener(new java.beans.PropertyChangeListener() {
            public void propertyChange(java.beans.PropertyChangeEvent e) {
                if ("border".equals(e.getPropertyName()))
                    throw new RuntimeException();
            }
        });

        setLayout(new FormLayout("default, $lcgap, default", "2*(default, $lgap), default"));
        // JFormDesigner - End of component initialization  //GEN-END:initComponents
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
    // Generated using JFormDesigner Evaluation license - nicam nicamson
    // JFormDesigner - End of variables declaration  //GEN-END:variables
}