Forum Stats

  • 3,816,057 Users
  • 2,259,134 Discussions
  • 7,893,374 Comments

Discussions

Desktop.isDesktopSupported() not working on AIX platform

3059613
3059613 Member Posts: 2
edited Nov 29, 2018 6:28AM in Swing

Hello,

http://java.sun.com/docs/books/tutorial/uiswing/misc/desktop.html

"Use the isDesktopSupported() method to determine whether the Desktop API is available. On the Solaris Operating System and the Linux platform, this API is dependent on Gnome libraries. If those libraries are unavailable, this method will return false. After determining that the Desktop API is supported, that is, the isDesktopSupported() returns true, the application can retrieve a Desktop instance using the static method getDesktop() ."

Above link mentions that Desktop API is dependent on Gnome libraries. What all gnome libraries are required to make it work? Our Swing application will run on AIX/Linux (RHEL/SUSE)/Mac/Windows/HP-UX multiple platforms and I would like to know what all gnome libraries are required on all platforms?

One more question is, Is there any other way to start browser other than using JEditorPane? Alternative to Desktop API?

We are using JTextPane which contains few links and other controls like JButton,JLable,Images,JCombobox..

Thank you