ICEpdf
  1. ICEpdf
  2. PDF-20

Gtk library warning on Gnome/Ubuntu

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      JDK 1.6, Linux UI using the GTK library.
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      1. start java with java --laf javax.swing.plaf.metal.MetalLookAndFeel property
      2. update ~/.icesoft/icepdf-viewer/pdfviewerri.properties and update the property "application.lookandfeel" to application.lookandfeel=Metal
      3. Edit the org.icepdf.ri.viewer.Launcher class method setupLookAndFeel(ResourceBundle messageBundle):void to set the look and feel as follows:
          UIManager.setLookAndFeel ( UIManager.getCrossPlatformLookAndFeel() );
      Show
      1. start java with java --laf javax.swing.plaf.metal.MetalLookAndFeel property 2. update ~/.icesoft/icepdf-viewer/pdfviewerri.properties and update the property "application.lookandfeel" to application.lookandfeel=Metal 3. Edit the org.icepdf.ri.viewer.Launcher class method setupLookAndFeel(ResourceBundle messageBundle):void to set the look and feel as follows:     UIManager.setLookAndFeel ( UIManager.getCrossPlatformLookAndFeel() );

      Description

      This appears to be a long standing issue with JDK6 and he GTK UI library for Linux. There is considerable information on the issue listed below:

      http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6624717
      http://www.nabble.com/Working-with-netbeans-6.0-in-Linux-GTK-problem-td15101577.html

      I still have to do a little more reading on this issue but the likely fix is change the viewer RI to load the cross platform look and feel.

        Activity

        There are no subversion log entries for this issue yet.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: