• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can Java do this?  RSS feed

 
Micky Fokken
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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. We cannot edit the server code, setup a proxy server or force users to use Firefox's Greasemonkey plug-in.

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
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

In principle you can do that in Java, just like you can do that in any other programming language. I don't think Java is particularly well-suited or less suited for something like this.

However, this does not sound like something that is easy to program (regardless of the programming language used). The hardest part will be in "watching the screen". You would need your application to recognise what's on the screen. That is not at all simple to do with a computer.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Micky Fokken wrote:...When a specific page appears...

It might help to know what this means. Are you "watching" for a web page (url)?
 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also can you tell us why you want this so that we can suggest alternatives. For instance instead of analysing the screen you can analyse the network traffic (assuming you want something to happen when the user views a web-page) which I assume is much easier.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!