SDK removed generic signature from DefaultComboModel in the SDK

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10447 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 12 years ago
parent ec7624e10d
commit a73cd439bb
  1. 3
      sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/dialog/AddAttributeDialog.java
  2. 2
      sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/dialog/AddMaterialParameterDialog.java
  3. 2
      sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/dialog/AddWorldParameterDialog.java

@ -6,7 +6,6 @@ package com.jme3.gde.materialdefinition.dialog;
import com.jme3.gde.materialdefinition.editor.Diagram;
import com.jme3.scene.VertexBuffer;
import com.jme3.shader.UniformBinding;
import java.awt.Point;
import javax.swing.DefaultComboBoxModel;
@ -25,7 +24,7 @@ public class AddAttributeDialog extends javax.swing.JDialog {
public AddAttributeDialog(java.awt.Frame parent, boolean modal, Diagram diagram, Point clickPosition) {
super(parent, modal);
initComponents();
DefaultComboBoxModel<String> model = new DefaultComboBoxModel<String>();
DefaultComboBoxModel model = new DefaultComboBoxModel();
for (VertexBuffer.Type attr : VertexBuffer.Type.values()) {
model.addElement("in" + attr.name());

@ -25,7 +25,7 @@ public class AddMaterialParameterDialog extends javax.swing.JDialog {
public AddMaterialParameterDialog(java.awt.Frame parent, boolean modal, Diagram diagram, Point clickPosition) {
super(parent, modal);
initComponents();
DefaultComboBoxModel<String> model = new DefaultComboBoxModel<String>();
DefaultComboBoxModel model = new DefaultComboBoxModel();
model.addElement("Color");
for (VarType varType : VarType.values()) {

@ -24,7 +24,7 @@ public class AddWorldParameterDialog extends javax.swing.JDialog {
public AddWorldParameterDialog(java.awt.Frame parent, boolean modal, Diagram diagram, Point clickPosition) {
super(parent, modal);
initComponents();
DefaultComboBoxModel<UniformBinding> model = new DefaultComboBoxModel<UniformBinding>();
DefaultComboBoxModel model = new DefaultComboBoxModel();
for (UniformBinding binding : UniformBinding.values()) {
model.addElement(binding);

Loading…
Cancel
Save