|
|
|
@ -121,7 +121,6 @@ public class TexturePanel extends MaterialPropertyWidget { |
|
|
|
|
jSeparator1 = new javax.swing.JSeparator(); |
|
|
|
|
texturePreview = new javax.swing.JLabel(); |
|
|
|
|
|
|
|
|
|
setBackground(new java.awt.Color(204, 204, 204)); |
|
|
|
|
setMaximumSize(new java.awt.Dimension(32767, 45)); |
|
|
|
|
setPreferredSize(new java.awt.Dimension(467, 45)); |
|
|
|
|
|
|
|
|
@ -129,7 +128,6 @@ public class TexturePanel extends MaterialPropertyWidget { |
|
|
|
|
jLabel1.setMinimumSize(new java.awt.Dimension(70, 14)); |
|
|
|
|
jLabel1.setPreferredSize(new java.awt.Dimension(100, 16)); |
|
|
|
|
|
|
|
|
|
jPanel1.setBackground(new java.awt.Color(204, 204, 204)); |
|
|
|
|
jPanel1.setPreferredSize(new java.awt.Dimension(10, 0)); |
|
|
|
|
|
|
|
|
|
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); |
|
|
|
@ -143,7 +141,6 @@ public class TexturePanel extends MaterialPropertyWidget { |
|
|
|
|
.addGap(0, 0, Short.MAX_VALUE) |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
jButton1.setBackground(new java.awt.Color(204, 204, 204)); |
|
|
|
|
jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/materials/multiview/widgets/icons/picture_add.png"))); // NOI18N
|
|
|
|
|
jButton1.setText(org.openide.util.NbBundle.getMessage(TexturePanel.class, "TexturePanel.jButton1.text")); // NOI18N
|
|
|
|
|
jButton1.setFocusable(false); |
|
|
|
@ -156,8 +153,7 @@ public class TexturePanel extends MaterialPropertyWidget { |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
jCheckBox1.setBackground(new java.awt.Color(204, 204, 204)); |
|
|
|
|
jCheckBox1.setFont(new java.awt.Font("Lucida Grande", 0, 10)); |
|
|
|
|
jCheckBox1.setFont(new java.awt.Font("Lucida Grande", 0, 10)); // NOI18N
|
|
|
|
|
jCheckBox1.setText(org.openide.util.NbBundle.getMessage(TexturePanel.class, "TexturePanel.jCheckBox1.text")); // NOI18N
|
|
|
|
|
jCheckBox1.setFocusable(false); |
|
|
|
|
jCheckBox1.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); |
|
|
|
@ -167,8 +163,7 @@ public class TexturePanel extends MaterialPropertyWidget { |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
jCheckBox2.setBackground(new java.awt.Color(204, 204, 204)); |
|
|
|
|
jCheckBox2.setFont(new java.awt.Font("Lucida Grande", 0, 10)); |
|
|
|
|
jCheckBox2.setFont(new java.awt.Font("Lucida Grande", 0, 10)); // NOI18N
|
|
|
|
|
jCheckBox2.setText(org.openide.util.NbBundle.getMessage(TexturePanel.class, "TexturePanel.jCheckBox2.text")); // NOI18N
|
|
|
|
|
jCheckBox2.setFocusable(false); |
|
|
|
|
jCheckBox2.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); |
|
|
|
@ -178,7 +173,6 @@ public class TexturePanel extends MaterialPropertyWidget { |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
jButton2.setBackground(new java.awt.Color(204, 204, 204)); |
|
|
|
|
jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/materials/multiview/widgets/icons/picture_delete.png"))); // NOI18N
|
|
|
|
|
jButton2.setText(org.openide.util.NbBundle.getMessage(TexturePanel.class, "TexturePanel.jButton2.text")); // NOI18N
|
|
|
|
|
jButton2.setToolTipText(org.openide.util.NbBundle.getMessage(TexturePanel.class, "TexturePanel.jButton2.toolTipText")); // NOI18N
|
|
|
|
@ -198,7 +192,6 @@ public class TexturePanel extends MaterialPropertyWidget { |
|
|
|
|
texturePreview.setIconTextGap(0); |
|
|
|
|
texturePreview.setMaximumSize(new java.awt.Dimension(75, 25)); |
|
|
|
|
texturePreview.setMinimumSize(new java.awt.Dimension(75, 25)); |
|
|
|
|
texturePreview.setPreferredSize(new java.awt.Dimension(75, 25)); |
|
|
|
|
|
|
|
|
|
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); |
|
|
|
|
this.setLayout(layout); |
|
|
|
@ -206,9 +199,9 @@ public class TexturePanel extends MaterialPropertyWidget { |
|
|
|
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|
|
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() |
|
|
|
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) |
|
|
|
|
.addComponent(jSeparator1, javax.swing.GroupLayout.DEFAULT_SIZE, 457, Short.MAX_VALUE) |
|
|
|
|
.addComponent(jSeparator1, javax.swing.GroupLayout.DEFAULT_SIZE, 474, Short.MAX_VALUE) |
|
|
|
|
.addGroup(layout.createSequentialGroup() |
|
|
|
|
.addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 184, Short.MAX_VALUE) |
|
|
|
|
.addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 211, Short.MAX_VALUE) |
|
|
|
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|
|
|
|
.addComponent(texturePreview, javax.swing.GroupLayout.PREFERRED_SIZE, 81, javax.swing.GroupLayout.PREFERRED_SIZE) |
|
|
|
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|
|
|
@ -222,9 +215,9 @@ public class TexturePanel extends MaterialPropertyWidget { |
|
|
|
|
.addContainerGap()) |
|
|
|
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|
|
.addGroup(layout.createSequentialGroup() |
|
|
|
|
.addGap(0, 229, Short.MAX_VALUE) |
|
|
|
|
.addGap(0, 238, Short.MAX_VALUE) |
|
|
|
|
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|
|
|
|
.addGap(0, 228, Short.MAX_VALUE))) |
|
|
|
|
.addGap(0, 238, Short.MAX_VALUE))) |
|
|
|
|
); |
|
|
|
|
layout.setVerticalGroup( |
|
|
|
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|
@ -232,20 +225,18 @@ public class TexturePanel extends MaterialPropertyWidget { |
|
|
|
|
.addContainerGap() |
|
|
|
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|
|
.addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 25, Short.MAX_VALUE) |
|
|
|
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) |
|
|
|
|
.addComponent(jButton2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|
|
|
|
.addComponent(jButton2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 25, Short.MAX_VALUE) |
|
|
|
|
.addComponent(jCheckBox2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|
|
|
|
.addComponent(jCheckBox1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|
|
|
|
.addComponent(texturePreview, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|
|
|
|
.addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) |
|
|
|
|
.addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) |
|
|
|
|
.addComponent(texturePreview, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) |
|
|
|
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) |
|
|
|
|
.addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 12, javax.swing.GroupLayout.PREFERRED_SIZE) |
|
|
|
|
.addGap(85, 85, 85)) |
|
|
|
|
.addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) |
|
|
|
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|
|
.addGroup(layout.createSequentialGroup() |
|
|
|
|
.addGap(0, 41, Short.MAX_VALUE) |
|
|
|
|
.addGap(0, 30, Short.MAX_VALUE) |
|
|
|
|
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) |
|
|
|
|
.addGap(0, 24, Short.MAX_VALUE))) |
|
|
|
|
.addGap(0, 15, Short.MAX_VALUE))) |
|
|
|
|
); |
|
|
|
|
}// </editor-fold>//GEN-END:initComponents
|
|
|
|
|
|
|
|
|
|