From 1ad66ae75c449283ebf7f3d225ea2b19d2270715 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Sat, 7 Jan 2012 22:42:49 +0000 Subject: [PATCH] SDK: - simplify NavMeshWizard layout git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8993 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../nmgen/wizard/NewNavMeshVisualPanel1.form | 20 ++----------------- .../nmgen/wizard/NewNavMeshVisualPanel1.java | 18 ++--------------- 2 files changed, 4 insertions(+), 34 deletions(-) diff --git a/sdk/jme3-navmesh-gen/src/com/jme3/gde/nmgen/wizard/NewNavMeshVisualPanel1.form b/sdk/jme3-navmesh-gen/src/com/jme3/gde/nmgen/wizard/NewNavMeshVisualPanel1.form index ee67a8e30..119278662 100644 --- a/sdk/jme3-navmesh-gen/src/com/jme3/gde/nmgen/wizard/NewNavMeshVisualPanel1.form +++ b/sdk/jme3-navmesh-gen/src/com/jme3/gde/nmgen/wizard/NewNavMeshVisualPanel1.form @@ -11,24 +11,8 @@ + - - - - - - - - - - - - - - - - - - + diff --git a/sdk/jme3-navmesh-gen/src/com/jme3/gde/nmgen/wizard/NewNavMeshVisualPanel1.java b/sdk/jme3-navmesh-gen/src/com/jme3/gde/nmgen/wizard/NewNavMeshVisualPanel1.java index 4810a62d3..7bd83ec2a 100644 --- a/sdk/jme3-navmesh-gen/src/com/jme3/gde/nmgen/wizard/NewNavMeshVisualPanel1.java +++ b/sdk/jme3-navmesh-gen/src/com/jme3/gde/nmgen/wizard/NewNavMeshVisualPanel1.java @@ -19,7 +19,7 @@ public final class NewNavMeshVisualPanel1 extends JPanel { initComponents(); ps = new PropertySheet(); ps.setNodes(new Node[]{}); - jPanel1.add(ps); + add(ps); } @Override @@ -43,22 +43,8 @@ public final class NewNavMeshVisualPanel1 extends JPanel { // //GEN-BEGIN:initComponents private void initComponents() { - jPanel1 = new javax.swing.JPanel(); - - jPanel1.setLayout(new javax.swing.BoxLayout(jPanel1, javax.swing.BoxLayout.LINE_AXIS)); - - javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); - this.setLayout(layout); - layout.setHorizontalGroup( - layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE) - ); - layout.setVerticalGroup( - layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE) - ); + setLayout(new javax.swing.BoxLayout(this, javax.swing.BoxLayout.LINE_AXIS)); }// //GEN-END:initComponents // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JPanel jPanel1; // End of variables declaration//GEN-END:variables }