jLabel1.setText("<html>This model is linked form another model. <br> Modifications on this model<br>will also effect the other model.</html>");
jLabel1.setText("<html>This model is linked from another model. <br> Modifications on this model<br>will also effect the other model.</html>");
    private void initComponents() {//GEN-BEGIN:initComponents        java.awt.GridBagConstraints gridBagConstraints;        basicPanel = new javax.swing.JPanel();        jPanel1 = new javax.swing.JPanel();        jLabel1 = new javax.swing.JLabel();        editButton = new javax.swing.JButton();        deleteButton = new javax.swing.JButton();        dataPanel = new javax.swing.JPanel();        modelNamePanel = new javax.swing.JLabel();        jPanel2 = new javax.swing.JPanel();        jPanel6 = new javax.swing.JPanel();        moveUpButton = new javax.swing.JButton();        moveDownButton = new javax.swing.JButton();        setLayout(new java.awt.BorderLayout());        setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 2));        basicPanel.setLayout(new java.awt.BorderLayout());        jPanel1.setLayout(new java.awt.GridBagLayout());        jLabel1.setText("<html>This model is linked form another model. <br> Modifications on this model<br>will also effect the other model.</html>");        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 1;        gridBagConstraints.gridy = 0;        gridBagConstraints.gridheight = 2;        jPanel1.add(jLabel1, gridBagConstraints);        editButton.setText("edit");        editButton.setMargin(new java.awt.Insets(2, 2, 2, 2));        editButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                editButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 2;        gridBagConstraints.gridy = 0;        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;        jPanel1.add(editButton, gridBagConstraints);        deleteButton.setText("delete");        deleteButton.setMargin(new java.awt.Insets(2, 2, 2, 2));        deleteButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                deleteButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 2;        gridBagConstraints.gridy = 1;        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;        jPanel1.add(deleteButton, gridBagConstraints);        dataPanel.setLayout(new java.awt.BorderLayout());        dataPanel.setBorder(new javax.swing.border.EtchedBorder());        dataPanel.setMinimumSize(new java.awt.Dimension(200, 33));        dataPanel.setPreferredSize(new java.awt.Dimension(200, 33));        modelNamePanel.setText("jLabel2");        dataPanel.add(modelNamePanel, java.awt.BorderLayout.CENTER);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 0;        gridBagConstraints.gridheight = 2;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        jPanel1.add(dataPanel, gridBagConstraints);        basicPanel.add(jPanel1, java.awt.BorderLayout.WEST);        add(basicPanel, java.awt.BorderLayout.CENTER);        jPanel2.setLayout(new java.awt.BorderLayout());        jPanel6.setLayout(new java.awt.GridBagLayout());        moveUpButton.setMargin(new java.awt.Insets(2, 2, 2, 2));        moveUpButton.setMaximumSize(new java.awt.Dimension(35, 35));        moveUpButton.setMinimumSize(new java.awt.Dimension(35, 35));        moveUpButton.setPreferredSize(new java.awt.Dimension(35, 35));        moveUpButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                moveUpButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;        jPanel6.add(moveUpButton, gridBagConstraints);        moveDownButton.setMargin(new java.awt.Insets(2, 2, 2, 2));        moveDownButton.setMaximumSize(new java.awt.Dimension(35, 35));        moveDownButton.setMinimumSize(new java.awt.Dimension(35, 35));        moveDownButton.setPreferredSize(new java.awt.Dimension(35, 35));        moveDownButton.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                moveDownButtonActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 1;        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;        jPanel6.add(moveDownButton, gridBagConstraints);        jPanel2.add(jPanel6, java.awt.BorderLayout.NORTH);        add(jPanel2, java.awt.BorderLayout.WEST);    }//GEN-END:initComponents