public void saveNetImage() {
String images[] = { "PNG", "JPG", "GIF", "BMP" };
JFileChooser chooser = new JFileChooser(FileHistoryController.getInstance().getCurrentDirectory());
chooser.setMultiSelectionEnabled(false);
chooser.setFileView(new FileIcon(screen));
chooser.addChoosableFileFilter(new SimpleFileFilter( images, resource.getString("imageFileFilter")));
int opcao = chooser.showSaveDialog(screen);
if (opcao == JFileChooser.APPROVE_OPTION) {
Rectangle r = calculateNetRectangle();