How to create a java link

Discussion in 'Programming' started by humbug01, Nov 27, 2007.

  1. #1
    Hi

    How do i create a java link so i can divert a url, the site i want the link is in java
     
    humbug01, Nov 27, 2007 IP
  2. DonCash

    DonCash Peon

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This is hard to understand exactly what you mean.

    Are you looking for JavaScript code to forward your site to another URL?

    Please explain further and I might be able to help you...
     
    DonCash, Dec 10, 2007 IP
  3. smile123

    smile123 Guest

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    if you nean to JavaScript it should be like this:
    onClick="window.location='X.html'"
     
    smile123, Dec 11, 2007 IP
  4. Arkserver

    Arkserver Banned

    Messages:
    2,533
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you mean real "java" you can import the net package, add a label and a listener so that it acts like a hyperlink.
    I could write a simple example for you if you want but not now because im quite busy with my java projects atm.
     
    Arkserver, Dec 11, 2007 IP
  5. facebuddies2007

    facebuddies2007 Guest

    Messages:
    252
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi

    I am trying to put a link in my faceparty.com profile and i think it is written in java

    any ideas please
     
    facebuddies2007, Dec 30, 2007 IP