|
From: <doc...@us...> - 2007-08-17 23:12:42
|
Revision: 154
http://openpcl.svn.sourceforge.net/openpcl/?rev=154&view=rev
Author: documentsystems
Date: 2007-08-17 16:12:44 -0700 (Fri, 17 Aug 2007)
Log Message:
-----------
Howard Hoagland. 1. Changed the icon names in 7 classes to use Yuko's new icon names. 2. Upgraded the version number from 0.07 date of August 6, 2007 to 0.08 date of August 17, 2007
Modified Paths:
--------------
openpcl/src/com/openpcl/install/localinstaller/HelpAbout.html
openpcl/src/com/openpcl/install/localinstaller/LicenseInfo.html
openpcl/src/com/openpcl/viewer/OpenPCLViewer.java
openpcl/src/com/openpcl/viewer/htmlfiles/HelpAbout.html
openpcl/src/com/openpcl/viewer/htmlfiles/LicenseInfo.html
openpcl/src/com/openpcl/viewer/jframe/PosSimpleJFrame.java
openpcl/src/com/openpcl/viewer/options/PosUserOptionsDialog.java
openpcl/src/com/openpcl/viewer/panels/PosWindowControlList.java
openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialog.java
openpcl/src/com/openpcl/viewer/toolbar/PosToolBar.java
openpcl/src/com/openpcl/viewer/tree/PosTree.java
Modified: openpcl/src/com/openpcl/install/localinstaller/HelpAbout.html
===================================================================
--- openpcl/src/com/openpcl/install/localinstaller/HelpAbout.html 2007-08-17 22:11:15 UTC (rev 153)
+++ openpcl/src/com/openpcl/install/localinstaller/HelpAbout.html 2007-08-17 23:12:44 UTC (rev 154)
@@ -2,7 +2,7 @@
<html><head><title>OpenPCL Viewer Help About</title></head>
<body><font size=4 face="arial">
<b>OpenPCL Viewer - Free Open Source PCL Viewer for the World.</b><br>
-Version 0.07 August 6, 2007<br>
+Version 0.08 August 17, 2007<br>
OpenPCL is made up of OpenPCLViewer and PclRenderImage.<br>
<br>
<b>Features:</b>
Modified: openpcl/src/com/openpcl/install/localinstaller/LicenseInfo.html
===================================================================
--- openpcl/src/com/openpcl/install/localinstaller/LicenseInfo.html 2007-08-17 22:11:15 UTC (rev 153)
+++ openpcl/src/com/openpcl/install/localinstaller/LicenseInfo.html 2007-08-17 23:12:44 UTC (rev 154)
@@ -2,7 +2,7 @@
<html><head><title>OpenPCL Viewer License</title></head>
<body><font size=4 face="arial">
<b>OpenPCL Viewer - Free Open Source PCL Viewer for the World.</b>
-<br>Version 0.07 August 6, 2007
+<br>Version 0.08 August 17, 2007
<br>OpenPCL is made up of OpenPCLViewer and PclRenderImage.
<br>
<p>The OpenPCL license is the GNU Lesser General Public License (LGPL) which you can view at
Modified: openpcl/src/com/openpcl/viewer/OpenPCLViewer.java
===================================================================
--- openpcl/src/com/openpcl/viewer/OpenPCLViewer.java 2007-08-17 22:11:15 UTC (rev 153)
+++ openpcl/src/com/openpcl/viewer/OpenPCLViewer.java 2007-08-17 23:12:44 UTC (rev 154)
@@ -153,7 +153,7 @@
// Instance variables
protected String mAppName = "OpenPCL Viewer";
protected String mAppDescription = " - Free Open Source PCL Viewer for the World";
- protected String mAppVersion = "Version 0.07 August 6, 2007";
+ protected String mAppVersion = "Version 0.08 August 17, 2007";
private Frame mParentFrame = null;
private JApplet mJApplet = null;
@@ -1542,7 +1542,7 @@
/** Allow subclases to set their own icon
* Subclass plugins override this method so do not delete or rename this method. */
public Icon getJInternalFrameIcon() {
- return (PosReadImageIcon.read("MultiDoc.gif"));
+ return (PosReadImageIcon.read("V221MultiDoc.png"));
}
/** Allow subclases to set their own title
Modified: openpcl/src/com/openpcl/viewer/htmlfiles/HelpAbout.html
===================================================================
--- openpcl/src/com/openpcl/viewer/htmlfiles/HelpAbout.html 2007-08-17 22:11:15 UTC (rev 153)
+++ openpcl/src/com/openpcl/viewer/htmlfiles/HelpAbout.html 2007-08-17 23:12:44 UTC (rev 154)
@@ -2,7 +2,7 @@
<html><head><title>OpenPCL Viewer Help About</title></head>
<body><font size=4 face="arial">
<b>OpenPCL Viewer - Free Open Source PCL Viewer for the World.</b><br>
-Version 0.07 August 6, 2007<br>
+Version 0.08 August 17, 2007<br>
OpenPCL is made up of OpenPCLViewer and PclRenderImage.<br>
<br>
<b>Features:</b>
Modified: openpcl/src/com/openpcl/viewer/htmlfiles/LicenseInfo.html
===================================================================
--- openpcl/src/com/openpcl/viewer/htmlfiles/LicenseInfo.html 2007-08-17 22:11:15 UTC (rev 153)
+++ openpcl/src/com/openpcl/viewer/htmlfiles/LicenseInfo.html 2007-08-17 23:12:44 UTC (rev 154)
@@ -2,7 +2,7 @@
<html><head><title>OpenPCL Viewer License</title></head>
<body><font size=4 face="arial">
<b>OpenPCL Viewer - Free Open Source PCL Viewer for the World.</b>
-<br>Version 0.07 August 6, 2007
+<br>Version 0.08 August 17, 2007
<br>OpenPCL is made up of OpenPCLViewer and PclRenderImage.
<br>
<p>The OpenPCL license is the GNU Lesser General Public License (LGPL) which you can view at
Modified: openpcl/src/com/openpcl/viewer/jframe/PosSimpleJFrame.java
===================================================================
--- openpcl/src/com/openpcl/viewer/jframe/PosSimpleJFrame.java 2007-08-17 22:11:15 UTC (rev 153)
+++ openpcl/src/com/openpcl/viewer/jframe/PosSimpleJFrame.java 2007-08-17 23:12:44 UTC (rev 154)
@@ -167,7 +167,7 @@
* @author howard 9/20/06
*/
protected void buildSimpleUI() {
- setIconImage(PosReadImageIcon.read("pclIcon_32x32.png").getImage());
+ setIconImage(PosReadImageIcon.read("V221PclIcon32.png").getImage());
// This is the outer JPanel that will contain the OpenPCLViewer JPanel when added at BorderLayout.CENTER
// It's needed to do it this way instead of adding the OpenPCLViewer JPanel directly in the JFrame's layout
@@ -340,13 +340,13 @@
JMenu tJMenu = createMenu("File", 'F');
// File, Open
- tJMenuItem = createMenuItem("Open Local File", PosReadImageIcon.read("Open.gif"), 'O',
+ tJMenuItem = createMenuItem("Open Local File", PosReadImageIcon.read("V221Open.png"), 'O',
KeyStroke.getKeyStroke("ctrl O"));
tJMenuItem.addActionListener(createOpenLocalFileActionListener());
tJMenu.add(tJMenuItem);
// File, Close
- tJMenuItem = createMenuItem("Close File", PosReadImageIcon.read("CloseFile.gif"), 'C',
+ tJMenuItem = createMenuItem("Close File", PosReadImageIcon.read("V221CloseFile.png"), 'C',
KeyStroke.getKeyStroke("ctrl F4"));
tJMenuItem.addActionListener(createCloseFileActionListener());
tJMenu.add(tJMenuItem);
Modified: openpcl/src/com/openpcl/viewer/options/PosUserOptionsDialog.java
===================================================================
--- openpcl/src/com/openpcl/viewer/options/PosUserOptionsDialog.java 2007-08-17 22:11:15 UTC (rev 153)
+++ openpcl/src/com/openpcl/viewer/options/PosUserOptionsDialog.java 2007-08-17 23:12:44 UTC (rev 154)
@@ -73,8 +73,8 @@
private String mUpdatesGroupBoxString = "Updates";
// Buttons
- private JButton mCreateShortcutJButton = new JButton(PosReadImageIcon.read("pclIcon_32x32.png"));
- private JButton mRegisterFileTypeJButton = new JButton(PosReadImageIcon.read("PageNewBig.gif"));
+ private JButton mCreateShortcutJButton = new JButton(PosReadImageIcon.read("V221PclIcon32.png"));
+ private JButton mRegisterFileTypeJButton = new JButton(PosReadImageIcon.read("V221PageNewBig.png"));
private JButton mPrinterSetupDefaultsJButton = new JButton("Print Setup Defaults");
private JButton mEMailAdvancedSettingsJButton = new JButton("Advanced Settings for EMail");
private JButton mScanningSetupJButton = new JButton("Scanning Setup");
@@ -407,8 +407,6 @@
private void grayOutItemsNotImplemented() {
// Buttons
- mCreateShortcutJButton.setEnabled(false);
- mRegisterFileTypeJButton.setEnabled(false);
mEMailAdvancedSettingsJButton.setEnabled(false);
mScanningSetupJButton.setEnabled(false);
mCheckForUpdatesJButton.setEnabled(false);
Modified: openpcl/src/com/openpcl/viewer/panels/PosWindowControlList.java
===================================================================
--- openpcl/src/com/openpcl/viewer/panels/PosWindowControlList.java 2007-08-17 22:11:15 UTC (rev 153)
+++ openpcl/src/com/openpcl/viewer/panels/PosWindowControlList.java 2007-08-17 23:12:44 UTC (rev 154)
@@ -25,11 +25,11 @@
protected ListSelectionListener mListSelectionListener = null;
protected Vector<JLabel> mBaseVector = new Vector<JLabel>(3);
protected Vector<JLabel> mChoicesVector = null;
- protected static final String sTileHorizontalName = "WindowTileHoriz.jpg";
- protected static final String sTileVerticalName = "WindowTileVert.jpg";
- protected static final String sCascadeName = "WindowCascade.jpg";
- protected static final String sWindowSelectedName = "WindowSelected.jpg";
- protected static final String sWindowUnselectedName = "WindowUnselected.jpg";
+ protected static final String sTileHorizontalName = "V221WindowTileHoriz.png";
+ protected static final String sTileVerticalName = "V221WindowTileVert.png";
+ protected static final String sCascadeName = "V221WindowCascade.png";
+ protected static final String sWindowSelectedName = "V221WindowSelected.png";
+ protected static final String sWindowUnselectedName = "V221WindowUnselected.png";
protected Icon mTileHorizontalIcon = null;
protected Icon mTileVerticalIcon = null;
protected Icon mCascadeIcon = null;
Modified: openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialog.java
===================================================================
--- openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialog.java 2007-08-17 22:11:15 UTC (rev 153)
+++ openpcl/src/com/openpcl/viewer/printing/PosPrintSetupDialog.java 2007-08-17 23:12:44 UTC (rev 154)
@@ -131,7 +131,7 @@
private JRadioButton mDuplexNoJRadioButton = new JRadioButton("No");
// JButtons
- private JButton mPrintModeMoreInfoJButton = new JButton(null, PosReadImageIcon.read("QuestionMark.gif"));
+ private JButton mPrintModeMoreInfoJButton = new JButton(null, PosReadImageIcon.read("V221QuestionMark.gif"));
private JButton mFontSizeDinkyJButton = new JButton("D");
private JButton mFontSizeSmallJButton = new JButton("*S*");
private JButton mFontSizeMediumJButton = new JButton("M");
Modified: openpcl/src/com/openpcl/viewer/toolbar/PosToolBar.java
===================================================================
--- openpcl/src/com/openpcl/viewer/toolbar/PosToolBar.java 2007-08-17 22:11:15 UTC (rev 153)
+++ openpcl/src/com/openpcl/viewer/toolbar/PosToolBar.java 2007-08-17 23:12:44 UTC (rev 154)
@@ -139,7 +139,7 @@
/** Open Local File toolbar button */
protected JButton createOpenLocalFileButton() {
- JButton tJButton = createToolBarButton("Open.gif", "Open File (Ctrl O)");
+ JButton tJButton = createToolBarButton("V221Open.png", "Open File (Ctrl O)");
tJButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionOpenLocalFileDialog();}
});
@@ -148,7 +148,7 @@
/** Close File toolbar button */
protected JButton createCloseFileButton() {
- JButton tJButton = createToolBarButton("CloseFile.gif", "Close File (Ctrl F4)");
+ JButton tJButton = createToolBarButton("V221CloseFile.png", "Close File (Ctrl F4)");
tJButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionCloseFile();}
});
@@ -157,7 +157,7 @@
/** Close All Files toolbar button */
protected JButton createCloseAllFilesButton() {
- JButton tJButton = createToolBarButton("CloseAll.jpg", "Close All Files");
+ JButton tJButton = createToolBarButton("V221CloseAll.png", "Close All Files");
tJButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionCloseAllFiles();}
});
@@ -166,7 +166,7 @@
/** Save as PCL file toolbar button */
protected JButton createSaveOnePageToPclFileButton() {
- JButton tJButton = createToolBarButton("SaveEdit.gif", "Save one page to PCL file");
+ JButton tJButton = createToolBarButton("V221Save.png", "Save one page to PCL file");
tJButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionSaveOnePageToPclFile();}
});
@@ -175,7 +175,7 @@
/** Print toolbar button */
protected JButton createPrintButton() {
- JButton tJButton = createToolBarButton("Print.gif", "Print");
+ JButton tJButton = createToolBarButton("V221Print.png", "Print");
tJButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionShowHidePrintChoicesPopup();}
});
@@ -184,7 +184,7 @@
/** Previous Page toolbar button */
protected JButton createPreviousPageButton() {
- JButton tJButton = createToolBarButton("ArrowLeft.gif", "Previous Page (Cursor up or Ctrl K)");
+ JButton tJButton = createToolBarButton("V221ArrowLeft.png", "Previous Page (Cursor up or Ctrl K)");
tJButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionPreviousPage();}
});
@@ -193,7 +193,7 @@
/** Next Page toolbar button */
protected JButton createNextPageButton() {
- JButton tJButton = createToolBarButton("ArrowRight.gif", "Next Page (Cursor down or Ctrl L)");
+ JButton tJButton = createToolBarButton("V221ArrowRight.png", "Next Page (Cursor down or Ctrl L)");
tJButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionNextPage();}
});
@@ -202,7 +202,7 @@
/** Show/Hide Tree toolbar button */
protected JButton createShowHideTreeButton() {
- JButton tJButton = createToolBarButton("TogglePane.gif", "Show/Hide Tree (Ctrl T)");
+ JButton tJButton = createToolBarButton("V221ToggleTree.png", "Show/Hide Tree (Ctrl T)");
tJButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
if ((e.getModifiers() & ActionEvent.CTRL_MASK) > 1) {
@@ -217,7 +217,7 @@
/** Zoom out toolbar button */
protected JButton createZoomOutButton() {
- JButton tJButton = createToolBarButton("ZoomOut2.jpg", "Zoom Out 2% (Ctrl H)");
+ JButton tJButton = createToolBarButton("V221ZoomOut.png", "Zoom Out 2% (Ctrl H)");
tJButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionZoomOutOneNotch();}
});
@@ -226,7 +226,7 @@
/** Zoom in toolbar button */
protected JButton createZoomInButton() {
- JButton tJButton = createToolBarButton("ZoomIn2.jpg", "Zoom In 2% (Ctrl Z)");
+ JButton tJButton = createToolBarButton("V221ZoomIn.png", "Zoom In 2% (Ctrl Z)");
tJButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionZoomInOneNotch();}
});
@@ -235,7 +235,7 @@
/** Show/Hide Zoom Slider toolbar button */
protected JToggleButton createShowHideZoomSliderButton() {
- JToggleButton tJToggleButton = createToolBarToggleButton("ZoomSlider.jpg", "Show/Hide Zoom Slider",false);
+ JToggleButton tJToggleButton = createToolBarToggleButton("V221ZoomSlider.png", "Show/Hide Zoom Slider",false);
tJToggleButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionShowHideZoomSliderPopup();}
});
@@ -244,7 +244,7 @@
/** Zoom width toolbar button */
protected JButton createZoomWidthPageButton() {
- JButton tJButton = createToolBarButton("FitVisible.gif", "Zoom Width (Ctrl I)");
+ JButton tJButton = createToolBarButton("V221FitVisible.png", "Zoom Width (Ctrl I)");
tJButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionZoomWidth();}
});
@@ -253,7 +253,7 @@
/** Change the Look toolbar button */
private JButton createChangeTheLookButton() {
- JButton tJButton = createToolBarButton("ChangeTheLook.jpg", "Change the Look");
+ JButton tJButton = createToolBarButton("V221ChangeLook.png", "Change the Look");
tJButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionShowHideChangeTheLookPopup();}
});
@@ -263,7 +263,7 @@
/** Cascade Windows toolbar button */
protected JButton createCascadeWindowsButton() {
- JButton tJButton = createToolBarButton("WindowSelect.jpg", "Tile, Cascade, Select Open Window");
+ JButton tJButton = createToolBarButton("V221WindowSelect.png", "Tile, Cascade, Select Open Window");
tJButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionShowHideWindowControlPopup();}
});
@@ -272,7 +272,7 @@
/** Options toolbar button */
protected JButton createOptionsButton() {
- JButton tJButton = createToolBarButton("Options.png", "Options");
+ JButton tJButton = createToolBarButton("V221Options.png", "Options");
tJButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionShowOptionsDialog();}
});
@@ -281,7 +281,7 @@
/** Help About toolbar button */
protected JButton createHelpAboutButton() {
- JButton tJButton = createToolBarButton("HelpAbout.jpg", "Help Choices (License Info and About)");
+ JButton tJButton = createToolBarButton("V221HelpAbout.png", "Help Choices (License Info and About)");
tJButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {mOpenPCLViewer.actionShowHideHelpChoicesPopup();}
});
Modified: openpcl/src/com/openpcl/viewer/tree/PosTree.java
===================================================================
--- openpcl/src/com/openpcl/viewer/tree/PosTree.java 2007-08-17 22:11:15 UTC (rev 153)
+++ openpcl/src/com/openpcl/viewer/tree/PosTree.java 2007-08-17 23:12:44 UTC (rev 154)
@@ -50,8 +50,8 @@
private JPopupMenu mTreeJPopupMenu = null;
private boolean mShowHideExtraInfoOnTree = false;
- protected static final String sPCL_ICON = "Eye.gif";
- protected static final String sPAGE_ICON = "Page.gif";
+ protected static final String TREE_ROOT_ICON = "V221DocMain.png";
+ protected static final String TREE_PAGE_ICON = "V221DocPage.png";
public PosTree(PosView pPosView, String pShortName) {
super();
@@ -588,8 +588,8 @@
public PosTreeCellRenderer() {
super();
- mPclIcon = PosReadImageIcon.read(sPCL_ICON);
- mPageIcon = PosReadImageIcon.read(sPAGE_ICON);
+ mPclIcon = PosReadImageIcon.read(TREE_ROOT_ICON);
+ mPageIcon = PosReadImageIcon.read(TREE_PAGE_ICON);
mtextSelectionColor = UIManager.getColor("Tree.selectionForeground");
mtextNonSelectionColor = UIManager.getColor("Tree.textForeground");
mbkSelectionColor = UIManager.getColor("Tree.selectionBackground");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|