Hi i want to use this to invoke the default browser from the desktop application.currrently iam working for a organization.this is part of my organization's work.i want to know can i use this library.if so what licence should i have...please help me...
...........................................................................................
BrowserLauncher2, a continuation of the BrowserLauncher project, is a library that facilitates opening a browser from a Java application and directing the browser to a supplied url. In most cases the browser opened will be the user's default browser.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi I am using the Browser Launcher application to launch the browser from my java application. the code is not working on Solaris 9 though Netscape is INSTALLED.
Interestingly when I connect through XManager to that Solaris 9 machine its working. But directly in the machine it’s not working. The following stack trace is thrown.
What could be the reason?
lbert.exception.BrowserLaunchingInitializingException: one of the supported browsers must be installed: FireFox, Mozilla, Netscape, Konqueror, FireFox, Opera
at edu.stanford.ejalbert.launching.misc.UnixNetscapeBrowserLaunching.initialize(UnixNetscapeBrowserLaunching.java:92)
at edu.stanford.ejalbert.BrowserLauncher.initBrowserLauncher(BrowserLauncher.java:80)
at edu.stanford.ejalbert.BrowserLauncher.<init>(BrowserLauncher.java:35)
at com.interwoven.modeler.core.modelconfiguration.IWHelpHandler.perform(IWHelpHandler.java:19)
at ilog.views.diagrammer.application.IlvDiagrammerAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at ilog.views.util.waitcursor.IlvWaitCursorManager.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi i want to use this to invoke the default browser from the desktop application.currrently iam working for a organization.this is part of my organization's work.i want to know can i use this library.if so what licence should i have...please help me...
...........................................................................................
BrowserLauncher2, a continuation of the BrowserLauncher project, is a library that facilitates opening a browser from a Java application and directing the browser to a supplied url. In most cases the browser opened will be the user's default browser.
Hi,
BrowserLanucher2 is released under the GNU Lesser General Public License. You can use the library in open or closed source applications.
Regarding how to use the library, see the documentation at http://browserlaunch2.sourceforge.net/docs.shtml#apinotes
Jeff
thanks jeff
Hi I am using the Browser Launcher application to launch the browser from my java application. the code is not working on Solaris 9 though Netscape is INSTALLED.
Interestingly when I connect through XManager to that Solaris 9 machine its working. But directly in the machine it’s not working. The following stack trace is thrown.
What could be the reason?
lbert.exception.BrowserLaunchingInitializingException: one of the supported browsers must be installed: FireFox, Mozilla, Netscape, Konqueror, FireFox, Opera
at edu.stanford.ejalbert.launching.misc.UnixNetscapeBrowserLaunching.initialize(UnixNetscapeBrowserLaunching.java:92)
at edu.stanford.ejalbert.BrowserLauncher.initBrowserLauncher(BrowserLauncher.java:80)
at edu.stanford.ejalbert.BrowserLauncher.<init>(BrowserLauncher.java:35)
at com.interwoven.modeler.core.modelconfiguration.IWHelpHandler.perform(IWHelpHandler.java:19)
at ilog.views.diagrammer.application.IlvDiagrammerAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at ilog.views.util.waitcursor.IlvWaitCursorManager.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)