Open a website from an app (or applet)

I have some JLabels in a Frame. I would like to be able to "click" on one of the JLabels (which contains a http-address) and thereby open a browser and the website.
Is that, or something similar, possible?

You can do something like :
- Listen for a mouseClicked event on your JLabel
- Do a getText() on your JLabel to get the url
- Do: Runtime.getRuntime().exec("C:\\Program Files\\Internet Explorer\\IEXPLORE.exe " + url);

Similar Messages

  • Firefox will not start and open a website from a Thunderbird email link. It will go to a link from Thunderbird once Firefox is open, but will not initially start Firefox and proceed to open the Thunderbird email link.

    Firefox will not ''start'' and open a website from a Thunderbird email link. A link from Thunderbird will open once Firefox is ''already'' started, but will not initially start Firefox and proceed to open the Thunderbird email link.

    I also have this problem. I cannot open links from a discussion board I frequent nor can I open links from my email. Also after opening my email, I cannot go to any other sites except my home page. I can then go no where else.
    When I close Firefox and try to reopen it, it does nothing! I have to bring up the Task Manager and end the Firefox process before I can get back in.
    To the best of my knowledge, this problem started with the new update to Ver. 3.6.9. I am running Windows XP Media Center 2005

  • Hi, I just got my Iphone 5s when I open my camera when my phone is lock te icons of the flash and the reversing camera is there, but when I try to open my camera from the apps camera the icons of the flash, the reversing camera is not there anymore?

    Hi, I just got my Iphone 5s when I open my camera when my phone is lock te icons of the flash and the reversing camera is there, but when I try to open my camera from the apps camera the icons of the flash, the reversing camera is not there anymore?

    Have you tried restarting or resetting your iPhone?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPhone shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds).

  • Problem opening pdf file from an app built by Flash Builder 4.5

    problem opening pdf file from an app built by Flash Builder 4.5

    The iPad and iPhone have NEVER supported Flash and never will. In fact, Adobe is no longer distributing Flash builds to mobile devices.
    Time to move on...

  • Unable to open any websites from the search engines. the ones I have tried are google, yahoo and ask. They opened until recently. The popup says" Firefox can't establish connection to the server." Ask worked last night but is not working now.

    When I try to open a web site from one of the search engines a pop up shows stating that Firefox can't establish connection to the server. I can't open any websites through any of the search engines.

    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Problem opening OneNote notebook from Web App to Desktop App

    Hi everyone,
    Apologies if this is not the right forum. Hope someone can help me. I can't seem to open my OneNote 2013 Notebook which resides in SkyDrive (and is synced fine with my computer at home) in my copy of OneNote 2013 on my work laptop.
    When I try opening the file from the Web App to the Desktop:
    I first gett a message warning me about hyperlinks. That's fine, I click Yes.
    The next message is about certificates, warning me that there is a problem with the site's security certificate.
    The certificate is issued by a company I have not chosen to trust.
    The name on the certificate is invalid or does not match the site
    The security certificate date IS valid. I click Yes to proceed.
    It now says:
    We couldn't find a notebook at "https://etc.etc.etc/" A notebook usually has a table of contents file (*.onetoc or *.onetoc2)
    Not sure why. As I say, it can do it from my home PC.
    The problem could be with the network at work I connect to. I know the techies spent a long time trying to figure out which ports/domains to open to allow me to connect. They did it - mostly. I can access Skydrive from the web, but I can't sync files through
    the Skydrive app sitting on my system tray. Weird that it works one way, but not the other.
    It does open fine in the web app, but not when I try opening it from the desktop. I would much rather use the desktop app.
    What do you think? Any suggestions?

    Is anyone able to help with this please?

  • Launch CC Website from CCC App

    When I use this feature to open the CC website it works, however, I almost always see the word "Upgrade" beside Files and Apps. If I log in from the website I do not see this.
    I assume this is a minor bug, nothing major as I can still see everything as I normally do. I do find it to be confusing and at first I wondered if something was wrong with my CC Subscription and assume others will have the similar thoughts.
    I am running Firefox v18 on Windows 8

    Moved from the Creative Cloud Connection to the Creative Cloud forum.
    Thank you for the report. We will investigate the issue.
    If anyone else is seeing this please respond with your operating system and default web browser versions.

  • Opening Internet Explorer from a link w/ applet

    Hi there,
    I was wondering if anybody out there had the code for an applet that will spawn Internet Explorer application and open up a specific address.
    How we want it to work. From a link open a page that will spawn Internet Explorer with the help of the applet. Is it do-able or not?
    A quick response would be great.
    Thanks

    Thanks but I would need the complete code.
    You see I want to open a particuler page from a link, the link will call, lets say homepage.jsp, I want to include an applet in homepage.jsp that will force the page to open up in a IE window. Is that possible????
    If it is what do I need to do?
    Thanks

  • Macbook numbers 2.1(436) will not open the project from Numbers APP on iPad 2.1(1129) .  The error is "index.html is missing"

    I updated the numbers APP on my iPad to 2.1(1129) and my Macbook numbers 2.1(436) will not open the project.  The error is "index.html is missing".
    I think I am having compatibility issues also with my numbers files but the symptom started last week. I have a numbers project/file that has been shared between my iPad and Macbook for several months so I would believe there is no compatability issue with the content.  I updated the Numbers APP on my iPad to 2.1(1129) and my Macbook (numbers is current) on 2.1(436) will not open it. I used email the iTunes to transfer the project file. The error is "index.html is missing".
    I used ftp to get both a previous file that will open and the new one that will not open onto a server at work and unzipped them. The file format is very different. Indeed the old one has an index.html and the new one has an index directory with a set of files. I know that you can not believe everything you read online but I did see a blurb that Numbers 3 does not need the index.html file but has no other specifics on the files format.
    Am I a victim of the 2.1 verson on my iPad not being compatable with the 2.1 version on my Macbook?
    Am I now forced to buy a new iWorks or Numbers 3 becasue I updated the iPad APP?
    I wanted to find the answer before I purchased a new Numbers if that was not the problem.

    Thank you for the insight that the new iPad 2.1 version requires Numbers3 BUT that is not a conclusion I would have jumped to being both are 2.1? Go figure.
    You however I do not believe you are correct with the conclusion that I can get a Numbers upgrade. I am on OS X 10.6.8 so not only do I need a new OS, I need a new macbok to run it, according to the APP store it requires OS X 10.9 or greater.
    I would like to have known that Numbers 2.1 iOS is not compatable with numbers 2.1 OS X and not taken the APP update.

  • Open URL Website from WHEN BUTTON PRESSED

    I need to open an internal website when a button is pressed on Forms 9i, which is the best and simplist way to go about it, using the available inbuilt forms 9i functions.
    Any ideas?????

    Hello,
    Use the Web.Show_Document() built-in.
    Francois

  • IPRINT 3.0 does not open PDF files from mail apps

    I have just installed iPRINT. It finds the printer with no problem (C6180) and I can also load files from the computer to the iPAD on which it is installed. The problem comes when trying to open PDFs from the mail program. There is an option to select open with iPRINT, I do so, and the program opens but the document does not appear. Only the home page of iPRINT. It worked once or twice when I first installed it, but only after screwing around with it.
    Can anyone help? It is on an iPAD 1 with iOS 4.3
    Thanks.

    Uninstall NWBC , go to REGEDIT --> Navigate to HKEY_LOCAL_MACHINE --> Expand SOFTWARE node --> Locate SAP -- Delete the Folder NWBC.
    And
    2). Expand HKEY_LOCAL_USER --> SOFTWARE  -> SAP --> NWBC - Delete.
    Restart the system and try to install NWBC again and check.
    Thanks,
    Arjun

  • How can I open iBooks "store" from iBooks app on ipad air

    I am unable to access the iBooks "store" from the iBooks app on my new ipad air.  I have tried deleting the app and re-downloading.  I have tried turning ipad off and restarting.  Any ideas?

    Sign out of your ID, close the iBooks app, reboot the iPad, sign in again, launch the app again and then try to access the store again.
    Settings>iTunes & App Store. Tap your ID and sign out.
    Close iBooks. Double tap the home button and find the iBooks app thumbnail on the screen. Swipe up on the app preview thumbnail to close it completely.
    Reboot the iPad. Hold down on the sleep and home buttons at the same time for about 10 seconds until the Apple logo appears on the screen and then let go of the buttons.
    After the device completely restarts, go back to Settings>iTunes & App Store and sign in. Launch iBooks and then try to access the store again.

  • I can not open multipule windows of firefox, I cannot open a website from an email.

    I use to be able to have several windows open and since the most recent update, I cannot. after I have one window open, if I close it I have to restart my computer in order to open the browser again.

    Hi there,
    Wow, that sounds very odd indeed! What happens if you press Ctrl+N on your keyboard? Normally you should see a new Firefox window. If nothing happens when you do that, something is definitely wrong with your Firefox.
    My advice would be to start Firefox in Safe Mode to see if the problem exists there as well. This article has all the details: [[Troubleshoot Firefox issues using Safe Mode]]
    If all else fails, here's a method that will almost surely fix the issue: [[Reset Firefox – easily fix most problems]]
    Let me know if any of this helps or if you need more assistance.
    Thanks!
    - David

  • Firefox 4.0 does not open website from email link

    I installed Firefox version 4.0 today. Ever since doing so I am unable to open a website from my Windows Mail email program. Version 3.6 did not have this problem.
    Firefox is my default browser.

    I had the same problem do this
    http://www.raymond.cc/blog/archives/2011/03/23/enable-save-tabs-on-exit-for-firefox-4/
    I do what this guy said and it is allright again

  • Not able to use Internet from Any App Except Chrome

    I updated to Yosemite from AppStore recently. After the installation, I can open all websites from Google Chrome. However, none of my other Apps can connect to the Internet. For instance, Dropbox, Box, App Store and Safari Itself cannot connect to internet. Only Google Chrome works fine (from which I am posting this). Any help is really appreciated

    This was fixed through the following suggestion
    witchmdOct 17, 2014 1:47 PM Re: No internet connection after installing yosemite
    Re: No internet connection after installing yosemitein response to sodquinn
    I now have internet connection back.  I typed the following in terminal:
    sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist
    sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist

Maybe you are looking for