--- a/tool/src/GUI/swingUtils.java
+++ b/tool/src/GUI/swingUtils.java
@@ -500,35 +500,45 @@
* @param tree
*/
public static void refreshAll(JTree tree, String UID){
- // find all components inside our common library
- File baseFolder = new File(".");
-// core.components = actions.findSPDX(new File(baseFolder,
-// is.library));
- // now find our products
- core.products = actions.findSPDX(new File(baseFolder,
- is.products));
-
- // get the current UID of the selected node
- if(UID.isEmpty()){
- TreeNodeSPDX currentNode = swingUtils.getSelectedNode();
- if(currentNode != null){
- // the ID of currently selected node
- UID = currentNode.getUID();
- }
- }
- // write our results on the tree
- populateTree(tree);
-
- // get the list of RunPlugins going
- RunPlugins.listPlugins();
- log.write(is.INFO, Messages.ReadyToUse);
+
+ core.studio.doSettings();
// get back to the previoulsy selected node
swingUtils.setSelectedNode(UID);
// refresh things up
tree.repaint();
swingUtils.refreshTextBox();
- }
+
+ }
+// // find all components inside our common library
+// File baseFolder = new File(".");
+//// core.components = actions.findSPDX(new File(baseFolder,
+//// is.library));
+// // now find our products
+// core.products = actions.findSPDX(new File(baseFolder,
+// is.products));
+//
+// // get the current UID of the selected node
+// if(UID.isEmpty()){
+// TreeNodeSPDX currentNode = swingUtils.getSelectedNode();
+// if(currentNode != null){
+// // the ID of currently selected node
+// UID = currentNode.getUID();
+// }
+// }
+// // write our results on the tree
+// populateTree(tree);
+//
+// // get the list of RunPlugins going
+// RunPlugins.listPlugins();
+// log.write(is.INFO, Messages.ReadyToUse);
+//
+// // get back to the previoulsy selected node
+// swingUtils.setSelectedNode(UID);
+// // refresh things up
+// tree.repaint();
+// swingUtils.refreshTextBox();
+
/**