Making clickable links in a TextArea?

Hi there,
I made a TextArea where several URLs are being displayed in the form (http://www.url.com)...does anybody know if it is possible to make these hyperlinks? So the user can click on whichever one they want and view it in their primary browser?
If someone can help me here, I'd reallly appreciate it. Would be great.
Thanks in advance,
-jtk

I made a TextArea where several URLs are being
displayed in the form (http://www.url.com)...does
anybody know if it is possible to make these
hyperlinks? So the user can click on whichever one
they want and view it in their primary browser?instead of using a TextArea you could use a Jlist
then add a mouse_clicked event and then call
Runtime.getRuntime().exec("cmd /c start "+tempString);
where tempString is your URL in the list
chidychi

Similar Messages

  • Making clickable links in GUI?

    Hi,
    Well, I'm making an GUI application and I wanted to have a clickable link to my website, I thought using HTML would be a good bet, but it doesn't work, I was thinking of using util but I'm not exactly sure..

    Swing related questions should be posted in the Swing forum.
    JEditorPane provide some basic support for loading HTML pages. Read the API for more info.
    You can invoke IE as follows:
    **  Here is a pure Windows solution
    **  Run the code and you will be taken to a tutorial that may provide
    **  a more generic solution
    public class WindowsFileProtocolHandler
         public static void main(String[] args)
              throws Exception
              String[] cmd = new String[4];
              cmd[0] = "cmd.exe";
              cmd[1] = "/C";
              cmd[2] = "start";
              cmd[3] = "http://www.javaworld.com/javaworld/javatips/jw-javatip66.html";
    //          cmd[3] = "will.xls";
    //          cmd[3] = "mailto:";
    //          cmd[3] = "a.html";
    //          cmd[3] = "file:/c:/java/temp/a.html";
              Process process = Runtime.getRuntime().exec( cmd );
    }

  • Show clickable link inside htmlb:textArea ?

    Hi have a htmlb:textArea that is sometimes enabled and sometimes disabled in my application. The text inside sometimes contains links (starting with http://..).
    If would be ultra cool if these links are directly clickable, so that you dont have to copy and paste them into your browser. I guess this is impossible, right?

    Hi Daniel,
    I guess you mean htmlb:textEdit? Well this element cannot contain other elements - that's why a htmlb:link is not possible. As a try you can play around with the encoding attribute of htmlb:textEdit but I think this will not work either.
    As workaround you could replace the htmlb:textEdit by htmlb:text containing htmlb:link ?
    Let me know if something works!
    Regards,
    Sebastian

  • Making a link clickable

    Here's a complicated problem.
    I work for an educational institution, and after a user enters their credentials there may or may not be a link to display. Look below for what currently displays:
    P01111111
    Welcome, <name>
    ADMISSION REQUIREMENTS
    Requirement     Received Date     Comments     Required
    Application Fee - $30               
    College Transcript     2/6/2007     College Name     Y
    Ref. Letter Dean of Students     11/29/2006          Y
    FINANCIAL AID REQUIREMENTS
    Requirement     Status     Link for Further Information
    District Financial Aid Application     Received and Satisfied     
    Free Application for Federal Student Aid (FAFSA) results     Missing Document     www.fafsa.ed.gov
    You see the URL for fafsa? I want that to be a clickable link. The following code involves HTML, ASP, and SQL. There is a loop involved. Basically, you'll see that I copied and pasted what is currently there and got rid of fields which I don't think pertain to the URL.
    This might take someone who is generous or has a lot of time on their hands. Help is appreciated.
    <p style="padding: 25px 0 0 15px;"><strong>FINANCIAL AID REQUIREMENTS</strong></p>
    <p>
    <div id="notification">
    <table cellpadding="10" id="SQLContainer">
    <tr>
    <th><strong>Requirement</strong></th>
    <th><strong>Status</strong></th>
    <th><strong>Link for Further Information</strong></th>
    </tr>
    <%
    '-----------Bottom (FINANCIAL AID REQUIREMENTS)
    set conn=Server.CreateObject("ADODB.Connection")
    conn.Open "HappyServer3;User Id=SpecialUser; Password=Password1186;Data Source=HappyServer3;"
    set rs = Server.CreateObject("ADODB.recordset")
    rs.Open "SELECT DISTINCT bbqreq_long_desc, bbq_desc, bbq_url FROM happy.bbqreq, happy.bbqreq, mars.jupiter, happy.bbqtrst WHERE bbqreq_treq_code = bbqreq_code AND bbqreq_aidy_code = '0111' AND bbqtrst_code = bbqreq_trst_code AND bbqreq_pidl = jupiter_pidl AND jupiter_id = '" & request.form("PNumber") & "' AND jupiter_change_ind is null;", conn
    do until rs.EOF%>
    <tr>
    <%for each x in rs.Fields%>
    <td><%Response.Write(x.value)%></td>
    <%next
    rs.MoveNext%>
    </tr>
         <%loop
    rs.close
    conn.close
    %>
    <%
    '-----------Bottom (FINANCIAL AID REQUIREMENTS)
    set conn=Server.CreateObject("ADODB.Connection")
    conn.Open "HappyServer3;User Id=SpecialUser; Password=Password1186;Data Source=HappyServer3;"
    set rs = Server.CreateObject("ADODB.recordset")
    rs.Open "SELECT DISTINCT bbqreq_long_desc, bbqtrst_desc, bbqreq_url FROM happy.bbqreq;", conn
    do until rs.EOF%>
    <tr>
    <%for each x in rs.Fields%>
    <td><% a href="Response.Write(x.value)"%></td>
    <%next
    rs.MoveNext%>
    </tr>
    <%loop
    rs.close
    conn.close
    %>
    </table>
    </div>

    First, this is an Oracle forum, not an ASP forum.
    Second, please format your code... it's near impossible to read.
    Third, I truly hope those are not the real user id and password and you've changed them.
    Fourth, you may want:
    <tr><&#37; for each x in rs.Fields &#37;> <td><a href=&quot;&lt;&#37; Response.Write(x.value) &#37;&gt;&quot;></td> <&#37; next rs.MoveNext &#37;> </tr>
    instead.

  • Making background image clickable link

    I have several div tags with background images in them.  I want to make the background images clickable links.  what is the easiest way to do this?

    Yes, the background image can be made clickable.
    Here is the link to get the info to one method: http://ran.ge/2009/11/11/css-trick-turning-a-background-image-into-a-clickable-link/
    Basically it is written like this:
    ==CSS==
    #bkgrdimage {
        background-image:url ('image.png');
        display:block;
        height:??px;       (image height)
        width:??px;        (image width)
        text-indent:-9999px;  
    ==HTML==
    <a href="http://????" title="Title of Link" id="bkgrdimage">Basic Text For this Link</a>
    The text indent places the "basic text for this link" outside the browser screen.

  • Is it possible to make clickable links in PSE 11?

    Hello!
    I am hoping someone will be able to help me. I have created a project in PSE 11- it's meant to be a booklet, and I would like to add clickable links to the project, by way of live links, as well as making parts of the project clickable. The goal is to make it a Tumblr post, and save the multiple pages as an Adobe Acrobat pdf file.
    My weak Google-fu tells me that I need to use the slicing tool, but I don't think that is available in Elements? Is there any way around this?
    I would really appreciate any advice!
    Thank you

    No, sorry. PSE is primarily a photo editor with limited text capabilities, meant more for putting captions on photos and that sort of thing. It is not really intended for use as a page layout program.

  • Why would a URL not be formatted as a clickable link?

    I run a service that sends A2P SMS messages that provide a link to weekly content. This week, a user reported to me that the URL was displayed but it was not a clickable link. AFAIK, there was no difference in the message except the exact link. I've attached a screenshot the user provided me.
    Why would this be the case?
    Justin

    You may have ActionScript problems that affect the link.
    You need to ask in the Flash Professional forum.
    Or, the users may not be able to see the Flash Container.
    Considering the number of users these days on SmartPhones, who can't access Flash content, the worst thing you can possibly do for navigation and links is to put them in a Flash container and render them invisible to such a larg portion of your visitors.

  • I downloaded the newest version of Firefox and now I can not use any of the clickable link tabs in yahoo mail, gmail, or hotmail. Do you know what is causing this.

    Go to msn.com for example: at the top of their page they have clickable link to hotmail. When I upgraded to Firefox 7 this link no longer works. Same thing happens with my yahoo mail, gmail and hotmail. If you open up yahoo mail for example; I can not click on the signout tab.... it doesn't function with firefox 7. I worked prior to uploading new version. I don't have that problem on my windows 7 platform.

    That problem can be caused by the Yahoo! Toolbar that extents too much downwards and covers the top part of the browser window and thus makes links in that part of the screen not clickable.
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Can a Quicktime file download from clickable link?

    Quicktime file download to desktop from clickable link?
    I have large movies that I want to make available for direct download to the desktop so people will click download and do something else.
    It is my understanding that you can't provide a quicktime file for download to a desktop because there are PC/MAC and browser issues across platform. But maybe I'm wrong.
    Is it possible to make a web page that allows users to download higher file size videos from a clickable link? The quicktimes are h.264 in SD + HD around 50-100 megs. The files will be so large people won't want to wait so I want it to go directly to the desktop.
    So far I can only find a few similar options
    1) Embed the file in a web page. Provide a download link after the movie loads.
    (This option requires you to load the file into the page. Users may not wait and close it)
    2) Provide a zip file. This allows you to create a clickable link to the zip which begins downloading upon clicking. You then unzip the file. (Some less computer savvy people may get confused by the zip)
    3) Put a raw file on server. This will play the movie in a blank window but can also be right clicked for direct download.

    Welcome to the discussions, jessestudio.
    I've seen a few sites that have a link to the video with instructions to "Right-click to download". Essentially, it's option three with instructions. It seems to be a fairly common way of handling it. (Even for non-QuickTime movies)

  • Is there a way to re-size to a smaller portion when creating clickable links on pdf?

    Hello everyone,
    I am not sure if I will be clear on what I need, but I'll try my best.
    I am currently doing a prayer book for my mom's website and need to add clickable links in the menu (so it will be more easy for the readers to simply click to go to the prayer they want to see). However, some  of the prayers don't take a whole full page and I would like to know if it is possible to re-size to a smaller zone in the page so they can only see the prayer and not the other one following it?
    I have tried to resize the red square in the left side of the pdf but it doesn't change anything as it goes only diagonally and not vertically, which results in still seeing the other prayer that comes after the one I want to link to.
    Can someone assist me on this? It will be much appreciated.

    When you create the link choose the radio button for "Go to a Page View".
    Then, when you see the dialog for Create Go To View, leave this dialog open and go to the page you want to link to and zoom into the area you want to magnify.
    Once you have the magnification you're looking for, click on the Set Link button.

  • Pdf-file with clickable links from iweb 09

    How can I create a pdf-file with clickable links from a website created in iweb 09?
    All iwork apps have an export button, which fulfills this task, but iweb does not.
    Any idea?

    I am running 10.5.6 on a MacBook Pro 2.53 GHz. I create my PDFs via the print dialogue. I tried to create a PDF from iweb with Hyperlinks activated and all links are dead. I tried to create the PDF from the Safari window, were all links are active, and – funny enough – sometimes all, sometimes half of my links are dead. But most of them do not work. As soon as I create PDFs from third party sites, everything works fine.

  • Does Keynote allow you to create clickable links in pdf files yet?

    I searched the forum and found a similar question that was asked back in 2005, and with newer versions of Keynote now available I hope I'm not posting a duplicate question here.
    I would like to be able to use iWork's Keynote to make small, business-type cards for downloads as .pdf files and I'd like to include a clickable website url or email link, if possible.
    How about doing this in Pages? I haven't used pages yet but I presume you can save the files as pdf's?
    Any help would be greatly appreciated.
    An afterthough - if I need Acrobat to do this is there a large learning curve involved?
    I see many 'Viral eBooks' and brochures being created for and by PC users, and when I download them the links are clickable on the Mac. You see lots of programs for PC's being advertised that are supposed enable you to to this, but none for the Mac. I'm hesitant to invest in Acrobat as I only want to do one or two business card type pdfs with clickable links.

    Hi Annie,
    I ran a quick test and Keynote exported a slide with both a clickable link to an email address and a website. After printing to PDF (command-P/Save as PDF), there were no clickable links.
    As far as I know, you need at least Mac OS X 10.4.4 for this to work, and of course Keynote 3.
    If this information is useful to you, please mark it as "helpful" or "solved" using the little buttons in the titlebar of this message. Thank you.

  • A clickable link in a inputText

    I am using a inputText with readOnly mode to display a label and value. Something like
    SomeLabel SomeValue
    Now my requirement is to show value as a clickable link. How can I do that. Do I have to use another component other than inputText to do that?

    Well this is the requirement. I have a PanelFormLayout to show inputText. Like this
    <af:panelFormLayout id="pfl1">
    <af:inputText readOnly="true" label="someLabel1" value="someValue1" id="it1"/>
    <af:inputText readOnly="true" label="someLabel2" value="someValue2" id="it2"/>
    <af:inputText readOnly="true" label="someLabel3" value="someValue3" id="it3"/>
    <af:inputText readOnly="true" label="someLabel4" value="someValue4" id="id4"/>
    </af:panelFormLayout>
    Now I want someValue2 be a link. So I am using commandLink like this,
    <af:panelFormLayout>
    <af:inputText readOnly="true" label="someLabel1" value="someValue1" id="it1">
    <af:commadLink text="someValue2" id="cl1">
    <af:outputLabel id="ol1" value="someLabel2" for="cl1"/>
    </af:commandLink>
    <af:inputText readOnly="true" label="someLabel3" value="someValue3" id="it3">
    <af:inputText readOnly="true" label="someLabel4" value="someValue4" id="id4">
    </af:panelFormLayout>
    But this is putting the label for command link after the link and not vertically aligned with the other labels (of input text). I want something like this
    SomeLabel1 SomeValue1
    SomeLabel2 ALinkHere
    SomeLabel3 SomeValue3
    SomeLabel4 SomeValue4

  • Using link event on textarea with right click

    I added 'event:' to the links in a textarea.htmlText because
    i need to be able to track when the link is clicked, but
    unfortunately this makes the link not work if they try to right
    click it to open it in a new window, it also doesn't track the
    click, the 'event:' shows in the new browser window url. Is the a
    way to disable rightclicking on links in a text area?

    Hey there,
    Make sure you have all the proper drivers installed for Boot Camp, which at this point you may have already done. Then below, is an article from Apple explaining how to right->click using BootCamp Windows. Hope this helps.
    http://docs.info.apple.com/article.html?path=BootCamp/2.0/en/bc1142.html
    B-rock

  • How Do I Make Bitmap, Graphic, or Movie Clip into a clickable link??

    I am designing a website entirely in flash (macromedia flash) but I cannot get the bitmap, graphics, or movie clips clickable links, although when hovered over turns into a hand.  Any suggestions? I have also tried the following script;
    on (release){
    getURL("http://www.google.com/", "_blank")
    Obviously I didnt use google, but still no go.
    I'm hot linking the raw fla file below.  I bought this template online and have modified it alot (all cosmetic) but I cant get the tabs to be links!?  I used action script (the one posted above) in every layer and the text inside the tabs.  But still doesnt work Does anybody know whats wrong?
    Sorry, but I dont know much in action script, I'm a c++ and web designer, this is my first time working in only flash.
    http://www.hotlinkfiles.com/files/2449178_iizru/_menu2_fv8.fla
    Here is my modded template in my website:  http://9karim.com/adminI only need to modify the menu bar

    I wouldn't say you're screwed, you just have some work ahead of you to find out what are actually the buttons in that thing.  If you look at the file on stage you'll see a large turquoise shape (an invisible button) that when you select it shows it has an instance name of "menu"... I still couldn't figure out what it has to do with those animated tabs, but it may lead to further discoveries.
    There's a lot of stuff woven into that file, and with the frame by frame animation, it's hard to isolate just about anything.  Based on what I see in the library as far as object naming goes, and your not knowing what's where, I'd conclude that this is an "acquired" design that has been decompiled into the fla you are trying to figure out.  While I haven't any experience with decompiled files, it wouldn't surprise me if there is an increased level of complexity as a result of how the decompiler rebuilt the file.

Maybe you are looking for

  • Bootcamp Windows Installer won't boot properly on rBMP late 2013

    I have been redirected to this community. I will repost the same question I asked in the mackbook pro community. I am new to Apple Support Communities, I hope this is okay for me to ask the question here again. Here is my post in the other community:

  • Can't get rid of Yahoo on toolbar after installing flash player

    I installed the latest Flash player yesterday on Firefox. I had Google on the toolbar for searching, but after I installed flash, it was replaced by Yahoo. Now I can't get rid of Yahoo. I've gone through Firefox's instructions, I've gone through the

  • Empty TABLESPACE_NAME in DBA_TABLES

    In what situations will the TABLESPACE_NAME field in the DBA_TABLES be empty for a non IOT table? Regards, Charles Theophilus

  • Cisco VPN not working with Lion OSX 10.7

    Cisco VPN Client Application did not launch after upgrading to Lion OSX v10.7.  I read https://discussions.apple.com/thread/3192535 that suggested rebooting in with a 32bit kernal. Hold down the '3' and the '2' keys while rebooting to reboot in 32bit

  • Business Rule Framework (BRF)

    Hia. I am looking for documentation about BRF. Would be really great if someone could help. Big thank you ahead. Arthur