pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1785387 - /pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java
Date Fri, 03 Mar 2017 21:07:16 GMT
Author: tilman
Date: Fri Mar  3 21:07:16 2017
New Revision: 1785387

URL: http://svn.apache.org/viewvc?rev=1785387&view=rev
Log:
PDFBOX-2941: shortcut for print

Modified:
    pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java

Modified: pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java?rev=1785387&r1=1785386&r2=1785387&view=diff
==============================================================================
--- pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java
(original)
+++ pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java
Fri Mar  3 21:07:16 2017
@@ -390,6 +390,7 @@ public class PDFDebugger extends JFrame
         fileMenu.add(recentFilesMenu);
 
         printMenuItem = new JMenuItem("Print");
+        printMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_P, SHORCUT_KEY_MASK));
         printMenuItem.setEnabled(false);
         printMenuItem.addActionListener(new ActionListener()
         {



Mime
View raw message