setDefaultCloseOperation(JInternalFrame.DISPOSE_ON_CLOSE);
// instancia variaveis de instancia
graphViewport = new JViewport();
if (net instanceof SingleEntityNetwork) {
controller = new NetworkController((SingleEntityNetwork) net, (NetworkWindow)this);
this.setModuleName(this.resource.getString("PNModuleName"));
} else {
throw new IllegalArgumentException("net != SingleEntityNetwork");
}