Plain Text Link

Well the project i was given had me writting an applet to check the users java version, and make sure it was at least 1.4.whatever. If it isnt it displays the message your java is not compatable with bla bla bla and provides a link at the bottom to the java website. This was all well and good, tossed in the button for the link and showed off the project. Only one problem, he doesnt like buttons, and wants it to appear as a plain text link. How do I do that? spent 3 days now digging and losing sleep over this so now I need to ask for your help. Thanks for the help
dan

i believe there are a few text components (I think JTextPane is one of them) that allow HTML code. You could just do an HTML link... I haven't actually tried this, but it might be worth looking at.

Similar Messages

  • How do I make multiple plain text links active (clickable) at once?

    I'm running Number 3.5.2 and I deal with a lot of documents that have long lists of URLs. Anytime I open a xls or numbers doc that already has the URLs pasted in, they're listed in plain text and not clickable. Is there a way that I can select all of them and make them active links, or at least do it in some reasonably scalable fashion?
    I've found how to use the "Add link" or even the "Open URL" options using the right click menu. And I know about changing the character style to "Link" to make it active. But these options are only available if I click and highlight the specific content in a single cell. It doesn't allow me to select multiple cells and make the change.
    I've also tried copying the URLs out of Numbers and into another program (text edit, email) but not too long ago it stopped letting me paste back in active links.
    Any help would be much appreciated!

    Hi jroos,
    The HYPERLINK function in another column.
    From the Function Browser:
    The HYPERLINK function creates a clickable link that opens a webpage or new email message.
    HYPERLINK(url, link-text)
    url: A standard universal resource locator. url is a string value that must contain a properly formatted universal resource locator string.
    link-text: An optional string value that specifies the text that appears as a clickable link in the cell. If link-text is omitted, url is used as link-text.
    Formula in C2 (and Fill Down)
    =HYPERLINK(B2)
    Then select Column C
    Copy
    Menu > Edit > Paste Formula Results
    Delete Column B
    Regards,
    Ian.

  • Plain Text URL links not working in the Windows 8 Mail App for only one account.

    Hello,
    I just started using a Surface Pro, and randomly one of the accounts I have setup in the "Modern" Mail app stopped parsing the pain text URL path that was included in them.  Specifically links to forum discussions.  I have 4 other Win
    8 devices and they display the links fine.
    More confusing is this issue happens ONLY with my O365 mail account and only on one PC.   I have an Outlook.com account and it renders the pain text URL as a clickable link, but when I send the same email to my O365 account it just shows up as
    text, no link generated.  All in the same Windows 8 Mail App.
    I ran the Windows 8 App Troubleshooter, I've reinstalled the Mail app,  I've removed and re-added the mail account.  Nothing fixes this.  Anyone know why?
    Thanks,
    Joe

    Same problem for us, the link is also not rendered, if the mail is sent to an on-premise Exchange server.
    Its only for plain-text messags, HTML-messages work fine.
    Why is this problem ignored? The app is useless with that limitation.

  • Windows Mail App: Links appearing as plain text.

    Some of my emails are not properly displaying web links through my Yahoo account.  For example:  I am personally subscribed to a website known as Slickdeals (http://slickdeals.net), and none of their Deal Notifications have active links within
    the Mail app.  Instead, website addresses appear as plain text, even though the same links work just fine when logging into my Yahoo Mail account through IE or Google Chrome.
    How can I fix this issue?  I actually love the Mail app, but this is simply a deal-breaker for me if it can not be amended.

    website addresses appear as plain text, even though the same links work just fine when logging into my Yahoo Mail account through IE or Google Chrome.
    That could just be a difference between E-mail client treatment of text strings which look like URLs but are in HTML and therefore are not links.   Different E-mail clients also provide different functionality in support of such strings when Plain-text
    messages are involved.
    Notice that now IE10 has a helpful right-click Go to copied address command to help reduce the inconvenience of such a situation.
    FYI
    Robert Aldwinckle

  • Lightroom wants to me to install 5.6, but the download link takes me to a page with plain text bullet points, none of which are the update link. Can anyone give a direct lnik?

    Lightroom wants to me to install 5.6, but the download link takes me to a page with plain text bullet points, none of which are the update link. Can anyone give a direct lnik?

    Google "lightroom 5.6" and direct links to both Mac and Windows will be at the top.

  • "Send link" inserts plain text into an email instead of a hyperlink. How do I correct this?

    I got a new computer and installed Firefox. Previously, when is sent a link to a website, the URL automatically pasted as a hyperlink. Now it shows up as plain text requiring the recipient of my email to cut and paste the URL into his browser.
    How do I fix this?

    There is usually a toolbar button in the editor to turn a text link into a clickable hyperlink (look for a chain like button).<br />
    You can select the text and click that button to turn the link into a clickable hyperlink.<br />
    If you can't find the button then hover them all to check the tooltip of each.<br />
    <br />
    * Make Link - https://addons.mozilla.org/firefox/addon/142<br />

  • When I send an email from Apple mail, it send inbedded links, not embedded, my font shows as plain text and signature sends as attachment??

    When I send an email from Apple mail, it send inbedded links, not embedded, my font shows as plain text and signature sends as attachment??

    inbedded is not a word.

  • Generating html links from plain text

    How can I scan a text (a String) and add links when a word is an URL?
    I tried the following which works but it's too slow:
      String text = rs.getString("text");         
                    text2scan=text.split("[\n ]")
                    for(int i = 0; i < text2scan.length; i++){
                        String replacement = null;
                        String word = text2scan;
    log.info(word);
    if(word.indexOf(".com")!=-1){
    replacement="<a href=\""+word+"\">"+word+"</a>";
    text=text.replaceAll(word, replacement);
    text=text.replaceAll("www","http://www");
    text=text.replaceAll("http://http://","http://");
    text=text.replaceAll(">http://",">");
    Isn't this already implemented somewhere?
    Thanks
    Niklas

    Because I was semi interested by this issue, and how best to solve it, heres a quick and dirty example program.
    It does a very basic job, but should be pretty much equivalent to what you had originally.
    package mypackage;
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.File;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    public class RegexpMakeHyperlinks {
          * Loads a file into a StringBuffer
          * @param f File to read
          * @return StringBuffer with contents of text file.
          * @throws IOException
         public StringBuffer loadFile(File f) throws IOException {
            System.out.println("Reading file " + f.getAbsolutePath());
              BufferedReader in = new BufferedReader(new FileReader(f));
              StringWriter sw = new StringWriter();
              PrintWriter pw = new PrintWriter(new BufferedWriter(sw));
              String line = null;
              while ((line = in.readLine()) != null) {
                   pw.println(line);
              pw.flush();
              in.close();
              return sw.getBuffer();
          * Writes the contents of a StringBuffer to file
          * @param f File to write to
          * @param sb Text to write to file
          * @throws IOException
         public void writeToFile(File f, StringBuffer sb) throws IOException{
              System.out.println("Outputting to " + f.getAbsolutePath());
              BufferedReader in = new BufferedReader(new StringReader(sb.toString()));
              PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(f)));
              String line = null;
              while ((line = in.readLine()) != null) {
                   out.println(line);
              out.flush();
              in.close();     
          * Converts all urls like "www.google.com" into hyperlinks in the text.
          * @param initialText The text to convert
          * @return Converted text.
         public StringBuffer convertText(StringBuffer initialText) {
              StringBuffer result = new StringBuffer(initialText.length());          
              Pattern p = Pattern.compile("(href=\")?(http://)?www\\..*?.com\\b");
              Matcher m = p.matcher(initialText);
              while (m.find()) {
                   String href = m.group();
                   // ignore links that are already hyperlinks
                   if (href.startsWith("href")){
                        continue;
                   // add on the http:// if necessary
                   if (!href.startsWith("http://")) {
                        href = "http://" + href;
                   // add the new text into the output.
                   m.appendReplacement(result, "<a href=\"" + href + "\">" + href + "</a>");
              m.appendTail(result);
              return result;
          * Testing method for experimenting with the patternmatching
          * @param text
         public void matchLink(String text) {
              System.out.println("Analyzing text " + text);
              Pattern p = Pattern.compile("(http://)?www\\..*?.com\\b");
              Matcher m = p.matcher(text);
              while (m.find()) {
                   System.out.println("Found: " + m.group());
         public static void main(String[] args) {
              RegexpMakeHyperlinks hyper = new RegexpMakeHyperlinks();
              String[] testStrings = { "www.google.com", "www.myspace.net", "make sure you visit www.yahoo.com for details", "Two sites: http://www.java.com and http://www.javabeans.com" };
              for (int i = 0; i < testStrings.length; i++) {
                   hyper.matchLink(testStrings);               
              System.out.println();
              System.out.println("----------------------------");
    System.out.println();
    File inFile = new File("makeHyperlinkTest.txt");
    File outFile = new File("makeHyperlinkTest.output");
    try{
    StringBuffer sb = hyper.loadFile(inFile);
    StringBuffer result = hyper.convertText(sb);
    hyper.writeToFile(outFile, result);
    catch(Exception e){
         System.out.println("Error " + e.getMessage());
         e.printStackTrace(System.out);      
    And a test file makeHyperlinkTest.txt
    This file just contains plain text with hyperlinks to places like www.google.com and http://www.yahoo.com.
    The program I have written will convert these links like www.google.com into hyperlinks for displaying as html.
    Make sure you visit http://www.java.sun.com and read all about Java.
    And if I already have an <a href="www.google.com">Hyperlink</a> in this file it should leave it alone right?

  • Is there a way to create a rule for Apple Mail that when a certain person is a recipient, make the email plain text?

    My boss has a blackberry and when I send pdf attachments and copy him, he cannot see the attachments.  I forget to make the email plain text before sending it to him.  I can use Thunderbird as my client and it works fine but it is not linked to the other apps on my mac like Apple Mail.  Can I make a rule or something for Mail so that when his email address is a recipient of the email, it will send as plain text to him?

    I don't think so. Not without setting up an AppleScript and I am not proficient with those.
    You can, however, set the follolwing in Mail > Preferences > Composing
    Responding: Use the same message format as the original message.
    But that would only be for responding to messages sent from his Blackberry.

  • Plain Text Attachments are delivered as inline  through sendmail in Solaris

    We are trying to send a plain text attachment through sendmail, but it is delivered as a inline message with all the headers in the body of the mail.
    I am using the following format for the mail header
    dataFile << "\nContent-Type: MULTIPART/mixed; ";
    dataFile << "BOUNDARY=Shrewdness_of_Apes_263_000"<<endl;
    dataFile << "--Shrewdness_of_Apes_263_000"<<endl;
    dataFile << "Content-Type: TEXT/plain; charset=us-ascii"<<endl;
    dataFile << "Content-MD5: y0krffm1wXDXyHUnlA7/Ow=="<<endl;
    dataFile << "--Shrewdness_of_Apes_263_000"<<endl;
    dataFile << " Content-Type: TEXT/plain;";
    dataFile << " name=\"Report.txt\";charset = us-ascii" << endl;
    dataFile << " Content-Description:Report.txt"<<endl;
    dataFile << "Content-MD5: PzHeltJOzVrvtnvTQ9aofQ=="<<endl;
    dataFile << "\n--Shrewdness_of_Apes_263_000--"<<endl;
    Please tell whether the format is correct for Solaris 10.
    This is correctly working in Solaris 8.

    The information in your link is wrong.
    There are several options for doing what you want. The easiest, and best, option is to compress the attachments as zip files before attaching them. Then they'll always be displayed as file attachments. The recipient will have to unzip them, obviously. Some enterprise mail gateways may balk at zip attachments, because they're often used to distribute Windows malware.
    Another good option is to use a third-party mail client that better suits your needs, such as Thunderbird.
    You could try the third-party application called "Attachment Tamer," which purports to change the behavior of Mail. I have no experience with it.
    Finally, you can try the hack suggested in this thread:
    Problems with sending email attachments...: Apple Support Communities
    I have no idea whether it works and I don't recommend it.

  • How to send a plain text and HTML email at once?

    Hi all,
    I'm attempting to use cfmailpart to send a HTML and plain text email all in the same cfmail script.  I'm using Outlook and Gmail to test.  I temporarily changed my Outlook settings to "read all standard mail in plain text," but it does not read the plain text cfmailpart of the email, it just attempts to format the text from the HTML email and display the links.  If I remove the HTML cfmailpart from my cfmail script, the plain text version is delivered, but Outlook removes extra line breaks that I actually want to keep intact, and some of the other formatting is improperly rendered.  Is there a better way to make sure email clients hold the plain text formatting (even though there really isn't any formatting with plain text) and a better way to test?  The HTML version looks great in both Gmail and Outlook.
    Thanks!

    Use the wraptext attribute of the cfmailpart tag to add line breaks.

  • How to send messages in iChat in plain text? (no html)

    How to send messages in iChat in plain text? I don't need any formatting nor hiding links in achor tags.

    HI,
    In the View Menu once you have a Chat window open is the Messages item which allows you to change the style of the IM.
    However this still sends a HTML like packet for dispalyiing the info at the other end.
    This does not work to ICQ users.
    Chax, an iChat Add-on, works in iChat 5 and lower (although there are then different versions) and can strip out the HTML part for sending to ICQ users.
    However there is not yet a Lion/iChat 6 version.
    8:43 PM      Monday; December 12, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How do you set email so that it is in html instead of plain text on ATT email?

    I would like to view my emails in html but do not know how to change it off of the current settings where it always displays it in plain text. I have att yahoo email.

    The Alt attribute isn't meant to show as a tooltip on hover.
    The Alt attribute is meant to show if the image isn't or can't be displayed.
    The title attribute is meant to show if you hover an image or link.
    *http://kb.mozillazine.org/Image_tooltips_do_not_work
    Some extensions can interfere and disable the tooltip.
    * [[Troubleshooting extensions and themes]]
    * http://www.w3.org/TR/html401/struct/global.html#title title
    * http://www.w3.org/TR/html401/struct/objects.html#alternate-text
    *Popup ALT Attribute: https://addons.mozilla.org/firefox/addon/1933

  • Problem with plain text trailers in rich text email?

    I'm a member of a mail group which adds subscribe and unsubscribe trailers added to the emails. When reading these emails with Mail 2.1.1, text emails appear fine. But sometimes html emails that have the text trailer have problems.
    The text trailer (which is within a pre html tag) often has and equal sign "=" and "return" which brings the links on two lines. The placement of the extra characters is random... The html of the problem emails look fine when downloaded as a file and viewed with a browser (and the code is fine too)
    I see this problem ONLY from group html emails that have a plain text trailer.
    Comments or thoughts?

    -

  • Save plain text file

    How can I create a text file that is not in a UTF format and is just plain text?
    This is the code I have but it creates the text in UTF8
    Private Sub PlacefileUpdate_Tick(sender As Object, e As EventArgs) Handles PlacefileUpdate.Tick
    Dim FILE_NAME As String = "X:\Data\polygon_placefile.txt"
    My.Computer.FileSystem.WriteAllText(FILE_NAME, "", False)
    If Verticies.Items.Count = 8 Then
    Dim i As Integer
    Dim aryText(14) As String
    aryText(0) = "Title: Polygon"
    aryText(1) = "Threshold: 999"
    aryText(2) = "RefreshSeconds: 1"
    aryText(3) = ""
    aryText(4) = "Color: 255 255 255"
    aryText(5) = "Line: 3, 0, Polygon"
    aryText(6) = Verticies.Items(0)
    aryText(7) = Verticies.Items(1)
    aryText(8) = Verticies.Items(2)
    aryText(9) = Verticies.Items(3)
    aryText(10) = Verticies.Items(4)
    aryText(11) = Verticies.Items(5)
    aryText(12) = Verticies.Items(6)
    aryText(13) = Verticies.Items(7)
    aryText(14) = "End:"
    Dim objWriter As New System.IO.StreamWriter(FILE_NAME, True)
    For i = 0 To 14
    objWriter.WriteLine(aryText(i))
    Next
    objWriter.Close()
    End If
    End Sub
    Regards, Carter Humphreys

    ASCIIEncoding Class - From link in previous post.
    Maybe you are viewing the text with an application not set for ASCII encoding.
    La vida loca
    Notepad. All I know is that it that the current code I have creating a UTF8 format and what I have that works is ASCII encoding. 
    Regards, Carter Humphreys

Maybe you are looking for

  • How to connect to wi-fi when WEP key is not compat...

    i am using the nokia 93001 communicator and i have wi fi access point in my office but iam not able to connect to the access point because the phone supports 40 or 104 bit key lenth and my office router has 64 bit key so kindly suggest how to rectify

  • File name issue

    Hi All, My scenario is : 1. SAP (sender ) sends file name to BPM(e.g myfile1.txt) 2.BPM sends the same file name (e.g myfile1.txt) to a HTTP reciever. 3.Http receiver then responses with a file(around 30mb size of file) 4.Then the file can be send to

  • ATI Radeon HD 2400 OS X Lion

    Framerates / graphics on Steam games and Blizzard (Star Craft II) have really taken a hit going from Snow Leopard to Lion. It seems there are some firmware updates ATI and or Apple need to release. Anyone else having serious graphics issues on OS X L

  • Driver not holding in place

    I am having a very difficult problem to pinpoint and fix.     We install our Windows 7 OSD via task sequence.  It all works and the machine comes up fine.  I will log into a finished machine and the screen resolution is set to 1280 x 1024.    I reboo

  • HT1311 Apple ID does not have permission to access iTunes Connect.

    always ask like that