[print-explorer~source-code-repository:32] Another day, another hack - that works
- From: dreadedhill@kenai.com
- To: commits@print-explorer.kenai.com
- Subject: [print-explorer~source-code-repository:32] Another day, another hack - that works
- Date: Wed, 2 Dec 2009 19:02:01 +0000
Project: print-explorer
Repository: source-code-repository
Revision: 32
Author: dreadedhill
Date: 2009-12-02 19:01:42 UTC
Link:
Log Message:
------------
Another day, another hack - that works
Revisions:
----------
32
Modified Paths:
---------------
dist/PrintExplorer.jar
src/us/bannister/printing/explorer/Controller.java
src/us/bannister/printing/explorer/ExplorerUI.form
src/us/bannister/printing/explorer/ExplorerUI.java
Diffs:
------
diff -r 8468c360db56 -r 16dc8d0d8dab dist/PrintExplorer.jar
Binary file dist/PrintExplorer.jar has changed
diff -r 8468c360db56 -r 16dc8d0d8dab
src/us/bannister/printing/explorer/Controller.java
--- a/src/us/bannister/printing/explorer/Controller.java Wed Dec 02
10:18:22 2009 -0800
+++ b/src/us/bannister/printing/explorer/Controller.java Wed Dec 02
11:01:42 2009 -0800
@@ -297,7 +297,7 @@
updatePrinterJobBefore();
}
});
- ui.zapPrinterResolution.addActionListener(new ActionListener() {
+ ui.buttonZapPrinterResolution.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e) {
toAction("remove PrinterResolution from
printRequestAttributeSet");
Attribute o =
printRequestAttributeSet.get(PrinterResolution.class);
diff -r 8468c360db56 -r 16dc8d0d8dab
src/us/bannister/printing/explorer/ExplorerUI.form
--- a/src/us/bannister/printing/explorer/ExplorerUI.form Wed Dec 02
10:18:22 2009 -0800
+++ b/src/us/bannister/printing/explorer/ExplorerUI.form Wed Dec 02
11:01:42 2009 -0800
@@ -396,7 +396,7 @@
<Property name="text" type="java.lang.String"
value="<html>getPageFormat(set) &rArr; pf"/>
</Properties>
</Component>
- <Component class="javax.swing.JButton"
name="zapPrinterResolution">
+ <Component class="javax.swing.JButton"
name="buttonZapPrinterResolution">
<Properties>
<Property name="text" type="java.lang.String"
value="zap PrinterResolution"/>
</Properties>
diff -r 8468c360db56 -r 16dc8d0d8dab
src/us/bannister/printing/explorer/ExplorerUI.java
--- a/src/us/bannister/printing/explorer/ExplorerUI.java Wed Dec 02
10:18:22 2009 -0800
+++ b/src/us/bannister/printing/explorer/ExplorerUI.java Wed Dec 02
11:01:42 2009 -0800
@@ -44,7 +44,7 @@
buttonResetPrintRequestAttributeSet = new javax.swing.JButton();
javax.swing.JLabel jLabel2 = new javax.swing.JLabel();
buttonPageFormatWithSet = new javax.swing.JButton();
- zapPrinterResolution = new javax.swing.JButton();
+ buttonZapPrinterResolution = new javax.swing.JButton();
panelDialogs = new javax.swing.JPanel();
javax.swing.JLabel jLabel4 = new javax.swing.JLabel();
buttonPageDialogWithPage = new javax.swing.JButton();
@@ -190,8 +190,8 @@
buttonPageFormatWithSet.setText("<html>getPageFormat(set) ⇒
pf");
panelPrintRequestAttributeSetOps.add(buttonPageFormatWithSet);
- zapPrinterResolution.setText("zap PrinterResolution");
- panelPrintRequestAttributeSetOps.add(zapPrinterResolution);
+ buttonZapPrinterResolution.setText("zap PrinterResolution");
+ panelPrintRequestAttributeSetOps.add(buttonZapPrinterResolution);
panelPrinterJobOps.add(panelPrintRequestAttributeSetOps);
@@ -348,6 +348,7 @@
javax.swing.JButton buttonSetPrintable;
javax.swing.JButton buttonToolkit_getPrintJob;
javax.swing.JButton buttonValidatePage;
+ javax.swing.JButton buttonZapPrinterResolution;
javax.swing.JCheckBox checkboxNativeDialog;
javax.swing.JCheckBox checkboxNativeDialogHack;
javax.swing.JComboBox comboboxPrinter;
@@ -377,6 +378,5 @@
javax.swing.JTextPane textPrinterJobAfter;
javax.swing.JTextPane textPrinterJobBefore;
javax.swing.JLabel textStatus;
- javax.swing.JButton zapPrinterResolution;
// End of variables declaration//GEN-END:variables
}
|
[print-explorer~source-code-repository:32] Another day, another hack - that works |
dreadedhill | 12/02/2009 |





