File tree Expand file tree Collapse file tree
src/main/java/com/mxgraph/svg2xml Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525import java .util .List ;
2626import java .util .Map ;
2727
28- import javax .swing .JOptionPane ;
28+ // import javax.swing.JOptionPane;
2929import javax .xml .parsers .DocumentBuilder ;
3030import javax .xml .parsers .DocumentBuilderFactory ;
3131import javax .xml .transform .OutputKeys ;
@@ -662,7 +662,9 @@ else if (aspectRatio.toLowerCase().equals("variable"))
662662 }
663663 }
664664
665- JOptionPane .showMessageDialog (gui .getFrame (), "Conversion completed.\n The libraries are genereted in:" + destFolders );
665+ // TODO: if we need to have a dialog message in the GUI, we should
666+ // provide a PR in the upstream repository to ensure there is no GUI code here (this prevents usage of the tool with the CLI)
667+ // JOptionPane.showMessageDialog(gui.getFrame(), "Conversion completed.\nThe libraries are genereted in:" + destFolders);
666668 }
667669
668670 /**
You can’t perform that action at this time.
0 commit comments