Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: Can Java do this?

  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Can Java do this?

    Hi all!
    I was told that Java can be used to develop the following solution. If so, I'm trying to find resources that I can read to learn how this can be done. I want to learn how to fish, not have someone fish for me. :-)

    1. Client-installed app monitors a user's activity on a computer by "watching the screen"

    2. When a specific page appears, app displays a message that floats over the page

    3. If the user minimizes the screen, the app hides the floating message. Alternatively, the floating message moves if the screen is re-sized.

    The purpose of this is to provide text instructions that look like they are part of the webpage, but in reality are simply floating over the webpage.

    There are other capabilities I'm looking for, but for now, we can start simple.

    Thanks in advance, and please let me know if I need to clarify my post.
    Micky


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Can Java do this?

    Also posted at The java forums. Read Problems with crossposting for why this message is here.

  3. #3
    Junior Member
    Join Date
    Jan 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Can Java do this?

    My bad. I didn't realize that the two websites were run by the same group. I thought the registration process looked pretty similar!

  4. #4
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Can Java do this?

    Javaprogrammingforums and Java-Forums are two separate entities. However, many people are members of both forums.

    1. Maybe? It'd be really difficult to tell whether activity happening on the screen is due to user input or due to "automated" processes of certain programs. Also, processing screen-shot images can be time and cpu intensive (particularly for higher screen resolutions).

    2. I'm guessing you mean a webpage? If it's your webpage, the easiest way is to program the overlay directly in (via JSP, javascript, PHP, etc.). If it's someone else's website, perhaps the best path to go is to write an "addon" for different web-browsers which will do that by monitoring the address bar.

    3. See #2

    Another solution is to for-go having to go through the web browser at all and create a Java Swing application with a JEditorPane which is fully capable of rendering a webpage. Then you would have full control of being able to display internal or external "pop-ups" as you wished.

  5. #5
    Junior Member
    Join Date
    Jan 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Can Java do this?

    Thank you very much for your response. I will add this to my research list. Little by little, we'll find a solution, because right now, only a small percent of users take the time to navigate to the training section o fthe website, open the quick guide and read the instructions.

    It would be so much easier if venders embedded instructions into their apps, but many still rely on the good 'ol mammoth help file!