pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahew...@apache.org
Subject svn commit: r1686918 - /pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/PDFDebugger.java
Date Mon, 22 Jun 2015 19:19:14 GMT
Author: jahewson
Date: Mon Jun 22 19:19:14 2015
New Revision: 1686918

URL: http://svn.apache.org/r1686918
Log:
PDFBOX-2530: Set menu bar appearance hints for OS X

Modified:
    pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/PDFDebugger.java

Modified: pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/PDFDebugger.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/PDFDebugger.java?rev=1686918&r1=1686917&r2=1686918&view=diff
==============================================================================
--- pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/PDFDebugger.java (original)
+++ pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/PDFDebugger.java Mon Jun 22 19:19:14
2015
@@ -538,6 +538,7 @@ public class PDFDebugger extends javax.s
     public static void main(String[] args) throws Exception
     {
         UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
+        System.setProperty("apple.laf.useScreenMenuBar", "true");
         PDFDebugger viewer = new PDFDebugger();
         String filename = null;
         String password = "";



Mime
View raw message