/*
 * NeuronSample.java
 *
 * Created on April 5, 2009, 7:07 PM
 */

package org.neuroph.easyneurons.samples;



/**
 *
 * @author  Zoran Sevarac <sevarac@gmail.com>
 */
public class BasicNeuronSample extends javax.swing.JInternalFrame {

    /** Creates new form NeuronSample */
    public BasicNeuronSample() {
        initComponents();
	neuronPanel.add(new BasicNeuronPanel());
	neuronPanel.revalidate();
    }
    


    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
        private void initComponents() {

                neuronPanel = new javax.swing.JPanel();

                setClosable(true);
                setIconifiable(true);
                org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(org.neuroph.easyneurons.EasyNeuronsApplication.class).getContext().getResourceMap(BasicNeuronSample.class);
                setTitle(resourceMap.getString("Form.title")); // NOI18N
                setName("Form"); // NOI18N

                neuronPanel.setName("neuronPanel"); // NOI18N
                neuronPanel.setLayout(new java.awt.BorderLayout());

                javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
                getContentPane().setLayout(layout);
                layout.setHorizontalGroup(
                        layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createSequentialGroup()
                                .addContainerGap()
                                .addComponent(neuronPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 463, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                );
                layout.setVerticalGroup(
                        layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createSequentialGroup()
                                .addContainerGap()
                                .addComponent(neuronPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 363, Short.MAX_VALUE)
                                .addContainerGap())
                );

                pack();
        }// </editor-fold>//GEN-END:initComponents


        // Variables declaration - do not modify//GEN-BEGIN:variables
        private javax.swing.JPanel neuronPanel;
        // End of variables declaration//GEN-END:variables

}
