[Jarspy-commits] CVS: JarSpy/src/com/ociweb/jarspy/gui JarSpyGUI.java,1.38,1.39
Status: Beta
Brought to you by:
brown_j
|
From: Jeff B. <br...@us...> - 2002-09-27 00:29:44
|
Update of /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui
In directory usw-pr-cvs1:/tmp/cvs-serv17913
Modified Files:
JarSpyGUI.java
Log Message:
removed code that was printing version info on stdout
Index: JarSpyGUI.java
===================================================================
RCS file: /cvsroot/jarspy/JarSpy/src/com/ociweb/jarspy/gui/JarSpyGUI.java,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** JarSpyGUI.java 25 Sep 2002 20:55:59 -0000 1.38
--- JarSpyGUI.java 27 Sep 2002 00:29:41 -0000 1.39
***************
*** 23,27 ****
import com.ociweb.jarspy.ClassInfo;
import com.ociweb.jarspy.JarInspector;
- import com.ociweb.jarspy.ApplicationProperties;
import com.ociweb.jarspy.gui.actions.AboutAction;
import com.ociweb.jarspy.gui.actions.ActionNames;
--- 23,26 ----
***************
*** 33,41 ****
import com.ociweb.jarspy.gui.actions.ViewJarContentsAction;
import com.ociweb.jarspy.gui.actions.ViewManifestAction;
import com.ociweb.jarspy.gui.tree.JarSpyClassTree;
import com.ociweb.jarspy.gui.tree.JarSpyClassTreeNode;
import com.ociweb.jarspy.preferences.JarSpyPreferences;
import com.ociweb.jarspy.preferences.JarSpyPreferencesFactory;
!
import javax.swing.Action;
import javax.swing.BorderFactory;
--- 32,56 ----
import com.ociweb.jarspy.gui.actions.ViewJarContentsAction;
import com.ociweb.jarspy.gui.actions.ViewManifestAction;
+ import com.ociweb.jarspy.gui.classdetails.ClassDetailsPanel;
import com.ociweb.jarspy.gui.tree.JarSpyClassTree;
import com.ociweb.jarspy.gui.tree.JarSpyClassTreeNode;
import com.ociweb.jarspy.preferences.JarSpyPreferences;
import com.ociweb.jarspy.preferences.JarSpyPreferencesFactory;
! import java.awt.BorderLayout;
! import java.awt.Component;
! import java.awt.Container;
! import java.awt.Cursor;
! import java.awt.Dimension;
! import java.awt.Font;
! import java.awt.Point;
! import java.awt.event.WindowListener;
! import java.io.File;
! import java.io.IOException;
! import java.lang.reflect.InvocationTargetException;
! import java.util.ArrayList;
! import java.util.HashMap;
! import java.util.List;
! import java.util.Map;
! import java.util.jar.JarFile;
import javax.swing.Action;
import javax.swing.BorderFactory;
***************
*** 57,61 ****
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
- import javax.swing.JButton;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;
--- 72,75 ----
***************
*** 63,86 ****
import javax.swing.event.TreeSelectionListener;
import javax.swing.tree.TreePath;
! import java.awt.BorderLayout;
! import java.awt.Component;
! import java.awt.Container;
! import java.awt.Cursor;
! import java.awt.Dimension;
! import java.awt.Font;
! import java.awt.Point;
! import java.awt.event.WindowListener;
! import java.awt.event.ActionEvent;
! import java.awt.event.ActionListener;
! import java.io.File;
! import java.io.IOException;
! import java.lang.reflect.InvocationTargetException;
! import java.util.ArrayList;
! import java.util.HashMap;
! import java.util.List;
! import java.util.Map;
! import java.util.Properties;
! import java.util.jar.JarFile;
! import com.ociweb.jarspy.gui.classdetails.ClassDetailsPanel;
/**
* @author Jeff Brown
--- 77,81 ----
import javax.swing.event.TreeSelectionListener;
import javax.swing.tree.TreePath;
!
/**
* @author Jeff Brown
***************
*** 195,206 ****
actions.put(ActionNames.SHOW_JAR_LIST_VIEW,
new ChangeJarViewerComponentAction(this,
! ActionNames.SHOW_JAR_LIST_VIEW,
! classList,
! "/com/ociweb/jarspy/gui/images/list_mode.gif"));
actions.put(ActionNames.SHOW_JAR_TREE_VIEW,
new ChangeJarViewerComponentAction(this,
! ActionNames.SHOW_JAR_TREE_VIEW,
! classTree,
! "/com/ociweb/jarspy/gui/images/tree_mode.gif"));
}
--- 190,201 ----
actions.put(ActionNames.SHOW_JAR_LIST_VIEW,
new ChangeJarViewerComponentAction(this,
! ActionNames.SHOW_JAR_LIST_VIEW,
! classList,
! "/com/ociweb/jarspy/gui/images/list_mode.gif"));
actions.put(ActionNames.SHOW_JAR_TREE_VIEW,
new ChangeJarViewerComponentAction(this,
! ActionNames.SHOW_JAR_TREE_VIEW,
! classTree,
! "/com/ociweb/jarspy/gui/images/tree_mode.gif"));
}
***************
*** 357,364 ****
toolBar.add(new JarSpyToolbarButton
! ((Action)actions.get(ActionNames.SHOW_JAR_TREE_VIEW)));
toolBar.add(new JarSpyToolbarButton
! ((Action)actions.get(ActionNames.SHOW_JAR_LIST_VIEW)));
toolBar.addSeparator();
--- 352,359 ----
toolBar.add(new JarSpyToolbarButton
! ((Action) actions.get(ActionNames.SHOW_JAR_TREE_VIEW)));
toolBar.add(new JarSpyToolbarButton
! ((Action) actions.get(ActionNames.SHOW_JAR_LIST_VIEW)));
toolBar.addSeparator();
***************
*** 450,465 ****
}
-
- Properties appProperties = ApplicationProperties.INSTANCE;
- String appVersion = appProperties.getProperty(ApplicationProperties.APP_VERSION_KEY);
- String buildNumber = appProperties.getProperty(ApplicationProperties.BUILD_NUMBER_KEY);
-
- System.out.println("JarSpy");
- System.out.println("Version: " + appVersion);
- System.out.println("Build Number: " + buildNumber);
-
new JarSpyGUI();
}
-
-
}
--- 445,449 ----
|