public DataEditor(EditableResources resources,String name){
  this.resources=resources;
  this.name=name;
  initComponents();
  fileSize=resources.getDataSize(name);
  sizeLabel.setText("File Size : " + Long.toString(fileSize) + " Bytes");
  sizeLabel.setVisible(fileSize >= 0);
}

public DataEditor ( EditableResources resources , String name ) { this . resources = resources ; this . name = name ; initComponents ( ) ; fileSize = resources . getDataSize ( name ) ; sizeLabel . setText ( "File Size : " + Long . toString ( fileSize ) + " Bytes" ) ; sizeLabel . setVisible ( fileSize >= 0 ) ; }
creates new form dataeditor
