Results 1 to 4 of 4
  1. #1
    lboucher is offline Member
    Join Date
    Jun 2010
    Posts
    2
    Rep Power
    0

    Default Is Java the right place to do this?

    Hey Guys

    Never touched java before, and only put my first website together over the last month.

    My Question:

    I have an idea.
    To impliment this idea I need a webpage with an image on it.
    When the user moves the mouse over the image I need UDP packets sent out containing the position of the mouse. (Preferably image relative, but page relative is do-able, i quess?)

    I took a look at asp.net, but i see that i would need a windows server for the hosting, which is a bit more expensive. And it doesn't look directl possible to find mouse position, unless i use java anyways.

    So if i were to use java, would the UDP packet get sent out from the server side or the client(computer viewing the webpage). If it gets sent out from the computer viewing the website, would it make it past that persons router and out to the internet, and thus to my computer?

    Is perl a better choice?
    Like many, i know what i want but not how to get from here to there.

  2. #2
    curmudgeon is offline Senior Member
    Join Date
    May 2010
    Posts
    436
    Rep Power
    4

    Default

    I get a feeling that you're confusing Java with JavaScript. You know of course that they're completely different languages.

  3. #3
    lboucher is offline Member
    Join Date
    Jun 2010
    Posts
    2
    Rep Power
    0

    Default

    Definitly confused, didn't know that.

  4. #4
    Sno's Avatar
    Sno
    Sno is offline Senior Member
    Join Date
    Apr 2010
    Posts
    196
    Rep Power
    4

    Default

    Yes I would agree, you are thinking of JavaScript, Check out here. JavaScript - WebDeveloper.com
    :rolleyes: ~ Sno ~ :rolleyes:
    '-~ B.S. Computer Science ~-'

Similar Threads

  1. Replies: 10
    Last Post: 02-28-2012, 08:44 PM
  2. Hopefully in the right place.
    By ilop12 in forum New To Java
    Replies: 2
    Last Post: 06-03-2010, 02:35 AM
  3. Where to place jar files
    By rummy in forum New To Java
    Replies: 3
    Last Post: 02-11-2010, 01:08 AM
  4. Java Keeping Text in One Place
    By xpngamer in forum New To Java
    Replies: 1
    Last Post: 04-09-2009, 06:27 AM
  5. how to place the controls >
    By makpandian in forum AWT / Swing
    Replies: 1
    Last Post: 12-18-2008, 06:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •