@SuppressWarnings("LeakingThisInConstructor") public NodePanel(ShaderNodeVariable singleOut,NodePanel.NodeType type){
  super();
  List<ShaderNodeVariable> outputs=new ArrayList<ShaderNodeVariable>();
  outputs.add(singleOut);
  this.type=type;
  init(new ArrayList<ShaderNodeVariable>(),outputs);
  addKeyListener(this);
  toolBar=new NodeToolBar(this);
}

@ SuppressWarnings ( "LeakingThisInConstructor" ) public NodePanel ( ShaderNodeVariable singleOut , NodePanel . NodeType type ) { super ( ) ; List < ShaderNodeVariable > outputs = new ArrayList < ShaderNodeVariable > ( ) ; outputs . add ( singleOut ) ; this . type = type ; init ( new ArrayList < ShaderNodeVariable > ( ) , outputs ) ; addKeyListener ( this ) ; toolBar = new NodeToolBar ( this ) ; }
creates new form nodepanel
