Html and email link in a java application

Hi all
How do you put a email or HTML link into a Java application.
I want to put my web site address and email address into a about dialog.
I would like to be able to open the default email application and web site from this dialog box.
Thanks to all
Craig

Try just making a label, and formatting it to look like a generic link. Then add a listener that performs the desired action when you click on it. The "desired action" would probably involve starting the user's default browser/mail-program and loading something in it. I have no idea how to do that, but the above should at least get you a "link" that responds when you click it, and that's a start.

Similar Messages

  • Iweb 08 and email links

    I've uploaded my site to dogbark and now the email link ( where you say "email me") on each page won't work. Apparently ,the email address box is coming up on the hose at an html code and not an email link. However, when I hyper linked "email me" I linked it to "email message" with my email address. Can anyone tell me what I'm doing wrong?
    Thanks.

    Can you provide the URL for your site so we can view it first hand? Also it the email link is near the bottom make sure it's not in the footer, entirely or in part.
    OT

  • Discussion eMail link causing class java.lang.NoClassDefFoundError on reply

    When forwarding an eMail link from a discussion, if the user follows the link and then clicks on "reply" it causes a  class java.lang.NoClassDefFoundError 
    This also happens if you create a favorite to the discussion. 
    Our portal is running:
       J2EE Engine 6.40 PatchLevel 100627.313
       Portal 6.0.15.0.0
       KnowledgeManagementCollaboration 6.0.15.0.0 (NW04 SPS15)
    <b>My question is what file is missing or what entry in the portalapp.xml is missing?</b>
    Here is the detail:
    System Error
    An exception occurred during the program execution. Below you will find technical information pertaining to this exception that you might want to forward to your system administrator.
    Exception Class     
    Call Stack     java.lang.ClassCastException
            at com.sapportals.wcm.control.generic.WcmErrorControl.readInputData(WcmErrorControl.java:558)
            at com.sapportals.wdf.stack.Control.triggerInput(Control.java:473)
            at com.sapportals.wdf.WdfEventDispatcher.dispatch(WdfEventDispatcher.java:172)
            at com.sapportals.wdf.WdfCompositeController.onWdfEvent(WdfCompositeController.java:538)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at com.sapportals.htmlb.page.DynPage.doProcessCompositeEvent(DynPage.java:204)
            at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:142)
            at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115)
            at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
            at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:73)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
            at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
            at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
            at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
            at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
            at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
            at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
            at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
            at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
            at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
            at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
            at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

    Hello Joel,
    Yes, I did follow the guide in Stefan's Blog and used the correct three standalone SDA files;
    actually I found out in CE 7.1.1, these three DC already exist after standard installation and
    have not deployed them at all.
    Thank you for your input.
    Ying-Jie Chen

  • Swf files and email links in dreamweaver

    Good evening everyone,
    Need some help please
    I have a button (swf) made in Flash and brought into Dreamweaver to act as an email link when clicked.
    When testing, an extra browser window named "untitled" comes up behind the main email window which
    pops up fine. I can't figure out where the extra blank "untitled" window is coming from. 
    swf was made in cs4 with as3 and imported into Dreamweaver cs4.
    The following is the code used for the swf file.
    var emailLink:URLRequest = new URLRequest("mailto:[email protected]");
    email_btn.addEventListener(MouseEvent.CLICK, onClick);
    function onClick(MouseEvent):void
    navigateToURL(emailLink);
    Thanks in advance,
    [email protected]

    The extra browser window will not appear when you run the file live on a server.  It is just one of the quirks with local Flash testing.

  • APSB12-06 And Email Links

    I have currently have ColdFusion 9.0 running on a Windows Server 2008 R2 Datacenter.  I recently installed the security update APSB12-06 and followed all of the directions to a T.  All of my applications work fine and nothing seems out of the oridinary. 
    Recently, we've been having some customers complain that they are unable to follow links that are sent to them via emails that are auto-generated from our system.  I couldn't figure out why this was happening, since I couldn't recreate the error on any test or system I tried.  I recently got in touch with a customer to send me some details about their problem.  Turns out the email that was sent from our system was changing the URL in the email to do the following:
    What the URL should look like:
    http://www.thesite.com/dspThisThing.cfm?id=123&pid=456&sid=789&gid=012
    What the customer was receiving:
    http://www.thesite.com/dspThisThing.cfm?id=123&pid=456&sid=789&gid=012 
    As you can see, it was replacing the ampersands with the HTML equivalent.  This has never happened before I installed the security patch, and nothing in our system has changed.  I've tried fooling around with URLEncodedFormat and URLDecode, but, as you can see, the URL is already properly URL-encoded (no spaces or strange characters). 
    This isn't happening for ALL customers in all emails on all system.  Only some.  So I'm lead to believe that maybe it's a matter of the user's email client.  It's just curious this has never happened before in the previous six years of this system being used.
    I was wondering if anyone had any insight to this problem.  Any information would be greatly appreciated.
    Thanks,
    Edit:  Apparently the "insert raw HTML" function in the text editor on this forum doesn't actually do raw HTML...The second URL in the example above should have "& amp ;" replacing all the ampersands.  Hope that makes sense?

    I am sending the emails as HTML...Somewhat have to because of the graphic elements of the emails (they are artwork proof emails).
    I have the default charset in the ColdFusion Administrator under the "mail" section set to "UTF-8."  I have not explicitly tried setting this variable in the cfmail tag though...Perhaps I'll try that.
    Thanks!

  • Help needed to access a file from and email link.

    I received an email with a link to an Adobe document. When I attempt to open the link I receive a message " You do not have accewss to the file" How do I gain access?

    Then it is the case I mentioned, the author sent the URL from the address bar viewing the form in Edit mode rather than copying the Fillable Form link. 
    You'll need to respond to the form author and ask them to send out the correct link/URL to the fillable form (which does not ask for any login).  They can go to the "Distribute" tab and on the "Web Form" sub-tab click "Copy Link", if the form is "Closed" it will ask if they want to "Open" the form, the form needs to be in the "Open" state to collect responses so say "Yes".  This will copy the link to their clipboard and they can then send that link/URL out.
    Also, if they close the form (by clicking the X in the upper right corner) and are looking at the "My Forms" tab in FormsCentral, with the form selected there is a "Link" button in the toolbar along the top which copies the form URL to send out.
    Here are a few documents that include information on how to distribute forms: https://www.acrobat.com/formscentral/en/quickstart/distribute-web-form.html
    http://forums.adobe.com/docs/DOC-1413
    http://helpx.adobe.com/acrobat-com/formscentral/topics.html
    Thanks,
    Josh

  • I've downloaded itunes on my computer, but the iTunes store does not show up and HTML and the links do not work?

    I've successfully downloaded iTunes to my PC.  Every function appears to work, however when accessing iTunes store it does not come up in HTML format and when I click a link it times out.

    Hi Augstiner57, I have the same problem.  Did you figure it out?  Mine seems to have happened after I updated Apple TV. Now it doesn't recognize my Home Sharing even though on my MacBook is it turned on.
    I am running an old OS  though (Leopard) so  I am wondering if I need to upgrade.

  • Installing BDB XML and including it into a java application

    Hi there :)
    I'm new to BDB XML and I've got some questions about it :
    1/ The documentation says about BDB XML that it is based on BDB. Does it mean that I need to install the standard BDB first to use BDB XML ? (I'm pretty sure I don't have to but I would like a confirmation =))
    2/ I want to developp a web application which will use BDB XML. The documentation says I need to add some jars into my project to use it but do I need to install it on my computer (Windows XP) first ? (with the .msi file ?)
    3/ Where will the xml files be physically stored after I add them into the database ? (what is the default database folder on the hard disk ?)
    Thank you for you help :)
    Regards,
    Gary

    Hi Gary,
    1) You need to install only DB XML. BDB is bundled with DB XML, so you don't have to worry.
    2) Yes, you need to add two jars: db.jar and dbxml.jar. But these jars depend on native DB XML libraries, so you will have to install DB XML anyway: only jars wouldn't be sufficient. Moreover, I would recommend to install DB XML from sources providing the --enable-java+ flag to the buildall.sh script
    3) All XML files will be stored in a container or containers (depending on how many of those you will decide to utilize in your application). It is up to you where you are going to reside DB XML environment/containers -- DB XML is quite low-level XML-database.
    Hope this helps,
    Vyacheslav

  • I upgraded to mountain lion 10.8.4 last night and a few of my java applications dont run anymore! Is anyone else having this issue?

    Most specifically Gephi 0.8.2 has stopped working.

    I had some problems with Java too.
    Apple released an updated Java package on June 18, 2013 and that seemed to address my problem.
    Link for the 10.7 / 10.8 Java Update - named "Java for OS X 2013-004" -  is: 
    http://support.apple.com/kb/DL1572

  • Updated to Firefox 35.0 recently and I keep getting a Java Application error message everytime I pull up a new page

    This is more of a heads-up rather than a ques
    tion.
    I recently update Firefox to version 35. My computer operating system is Windows 7 Starter. Since adding the update every page I pull up I get a Java script error message "Error: 'console' getter called on an object that does not implement window interface."
    I followed the steps for trouble shooting extensions and managed to isolate the problem. It was an add-on extension for Youtube Auto HD 1.4. The message no longer pops up.
    I hope others out there find this helpful.

    Sorry didn't noticed it was solved.

  • Email Sending  - Web Dynpro java

    Hi All ,
    When we want to send Emails through Web Dynpro java application  , what are the necessary or prilimanry things needed ?
    1 ) In my application , jar files are there ( activation and mail )
    When deployed and run it is giving no errors but mails are not going .
    Secondly , from portal ( abap stack ) sap inbox when i send message to any company mail id , it is going
    That is SMTP in portal is configured .
    I could not understand , why it is not going from Portal ?
    Also Do I need any configuration / setttings in
    1) Config tool
    2) Visual Adminstrator
    3) Sys Adm - Sys config - UME - Emails notification
       and SYstem
    Regards,
    Suray

    refer the following links
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/8d/6bd83e8cb23d67e10000000a114084/frameset.htm
    https://forums.sdn.sap.com/click.jspa?searchID=1063990&messageID=1486766
    Re: Sending Email from Web Dynpro
    Send Email  in webdynpro for java
    http://hc.apache.org/httpclient-3.x/methods/post.html
    But if you don't need its, maybe this link can post can help you.
    How to send data from Web dynpro App to JSP or vice versa
    Code
    try
    String strSMTPIPAddress ="192.168.100.103";
    Properties props;
    Session session;
    Provider p;
    props = System.getProperties();
    props.put("mail.smtp.host", strSMTPIPAddress);
    session = Session.getDefaultInstance(props, null);
    StringBuffer strMailBody = new StringBuffer();
    wdThis.createmailbody(strMailBody);
    Message message = new MimeMessage(session);
    message.setFrom(new InternetAddress("<give the email address here>"));
    message.addRecipient(Message.RecipientType.TO, new InternetAddress("<email address>"));
    message.setSubject("<give the subject of mail>");
    MimeMultipart mimemultipart = new MimeMultipart();
    // //set message content
    //this is body content
    MimeBodyPart mimebodypart1=new MimeBodyPart();
    //This is attachmnent
    MimeBodyPart mimebodypart2=new MimeBodyPart();
    // mimebodypart1.setText("xxx"); //Attachment
    mimebodypart2.setText("<give the content of attachemnt>');
    mimemultipart.addBodyPart(mimebodypart1);
    mimemultipart.addBodyPart(mimebodypart2);
    //message.setText(wdContext.currentContextElement().getSalorder());
    message.setContent(mimemultipart);
    message.setText(strMailBody.toString());
    Transport.send(message);
    wdComponentAPI.getMessageManager().reportSuccess("E-mail is sent to sharanya");
    catch (Exception e)
    wdComponentAPI.getMessageManager().raiseException("Exception" + e.getMessage(), true);
    Thanks
    Suresh

  • How do i run java application in IIS

    Hi,
    Can I run java application on IIS(Internet information Server)?
    If yes, How do i do that?
    My java application contains JSP,Servlets and EJB.
    To run java application on IIS which plug in should i use.
    Can anybody help me This is urgent...........
    Thanx

    Can i use EJB components in it?Yes, you can use EJB components. IIS uses Tomcat as a plugin and Tomcats feeds IIS with HTML code. Tomcat performes all the JAVA work including EJB. This links shows you how to install it:
    http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html
    Shoud be the same for version 4.1

  • 'Link no longer active' message when I send an email link to a file in my cloud. New to cloud, can anyone please help...?

    Hello everyone,
    I am new to the cloud. Trying to send a client a link to a design file in my cloud. But when they click the link the get an error message saying the link is no longer active. Do t understand why, can anyone help me please.

    File Sync Links that may help
    -https://forums.adobe.com/community/creative_cloud/host_sync
    -http://helpx.adobe.com/creative-cloud/kb/arent-my-files-syncing.html
    -sync and email link http://forums.adobe.com/thread/1427516?tstart=0
    -http://helpx.adobe.com/creative-cloud/kb/cannot-share-certain-types-files.html
    -Size Limits https://forums.adobe.com/thread/1488242

  • Embedding Internet Explorer GUI in Java Application

    let me preface this post by saying that i have seen the javatip66 reference on javaworld.com and that has considerable merit. i may end up using that methodology.
    what i would like to be able to do, of course, is to embed JUST the "HTML pane" of IE/Netscape (excluding ToolBar and Address Bar, etc) inside a Java application. i am not an MFC developer, so i'm not sure where to begin looking or if JNI will allow me to hack that dll.--or even if that canvas/panel/whatever can be invoked independently to render a document.
    i have several complete, fully working GUI applications that use the javax.swing.JEditor interfaces to display various mime formatted documents (content types such as "text/html" and "text/plain"). unfortunately, the Java implementations of these Editors don't sync with what everyone is used to in IE/Netscape...to the degree that content is intractably mis-displayed (is that a word?)
    worst case scenario, i will invoke a new browser to display content, but i would prefer to frame those browsers in my applications. thoughts?
    note: one of the primary problems is the the JFC classes support only up to HTML 3.2 which is as good as archaic these days.

    i think you just nailed it. i do imagine that this is the correct forum for this, but i could cross-post to the Swing forum. certainly it is going to require switching on the version of Windows. perhaps we can find a general/create a discussion on integrating ActiveX controls in Java. [man, this is just the most bass ackwards thing ever. hate doing this kind of thing, but it's the "state of the world."] (at least until Sun/3rd party gets a reasonable HTML document renderer.)

  • Webdynpro java application in UWL

    Hi Experts,
          My requirement is we  had one Java application , we need to link up this application into UWL  , and every month end who is accessing that application that guys have to get alert for to fill that form
        My question is is there any chance to link up this java application into UWL , please help on this issue or any possible ways is there.
    Thanks
    Renuka

    Hi Renuka,
    Have you had a look at the Javadocs?  The API is listed here and could fullfill your needs.  I have seen other customers build their own custom connectors to link to their own custom applications with the API documentation and coding:
    http://help.sap.com/javadocs/
    When you get to the main page, pick the version that you are working with, and then select Universal Worklist API's.
    Beth Maben
    EP - Senior Support Consultant
    AGS Primary Support, Business Suite & Technology
    Please see the UWL Wiki @
    http://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

Maybe you are looking for

  • ITunes match can't get past step 1

    I bought iTunes match as soon as it was available here in Austria. At first it worked fine. Then I imported some new songs. After that it has never been able to get past step 1 (gathering data on your media library). My MacBook was running more that

  • Fix for the hanging/exporting from Imovie back to camera tape??

    I've been trying to export my Imovie back to Hi 8 tape on my Sony trv480 camcorder and it hangs on both my Imac and my Ibook. I have plenty of memory and have tried all the suggestions that people have made here on the website and nothing works. I ho

  • OK_CODE For ENTER and Scroll key

    Hi, when ever i press ENTER button in the module pool screen i need to capture the action code for that, because i suppose to do some action. i need the same for scroll button also. Kindly help me in this . reg, Hariharan.

  • Frogot the wifi wpa password

    I have lost the mafacture hp deskjet 2545 wifi pasword which was printed out how can i reset the password

  • Ipod says it's connected to a dock when its not. No sound.

    My son's ipod touch says its connected to a dock connector when it's not. It won't play music and there is no sound on games. It has 5.1 installed. It's been restored and reset multiple times. Any suggestions?