Invisible HTML Link in AWT.


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Invisible HTML Link in AWT.

Hybrid View

  1. #1
    Ali Imran Guest

    Invisible HTML Link in AWT.


    I am using Visual Cafe to Develop an Applet..

    Now I have a situation where I devlop a HyperLink and when somebody click
    on that It will forwarded to that page.

    I am using invisibleHTMLlink AWT Control to do that...

    Now the Problem is in mycoding I am using actionPerformed event
    so when it's clicked browser will forward you to that location.

    Can andbody tell me the exact method to call??

    Or is there any other way to do that?




  2. #2
    Tom Duffy Guest

    Re: Invisible HTML Link in AWT.


    Hello Ali:

    Try:

    getAppletContext().showDocument(url);

    where the url you pass in is taken from the invisibleHTMLLink.

    In all honesty, you're probably better off just creating a URL in code than
    using the component:

    URL url;
    try{


    HTH,

    Tom Duffy

    "Ali Imran" <aimran@bigfoot.com> wrote:
    >
    >I am using Visual Cafe to Develop an Applet..
    >
    >Now I have a situation where I devlop a HyperLink and when somebody click
    >on that It will forwarded to that page.
    >
    >I am using invisibleHTMLlink AWT Control to do that...
    >
    >Now the Problem is in mycoding I am using actionPerformed event
    >so when it's clicked browser will forward you to that location.
    >
    >Can andbody tell me the exact method to call??
    >
    >Or is there any other way to do that?
    >
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center