Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

applet webpage image capture

Thread view: 
eunever32@yahoo.co.uk - 29 Nov 2005 11:07 GMT
Hi

We have a vanilla j2ee application with say 1000 users. (windows
client, sparc tomcat)

We would like to offer the ability to select (cut) images from the
application
and paste into a word document.

I notice there are windows applications such as ACASystems Capture,
Snagit, webscreenshot, etopping, screenshotwizard that allow this.

However these tools are a bit intrusive ie the user is aware they are
using 3rd party software.

I would simply like to have button (unique to our web pages) that would
enable a "region screen select".
The user would click x1, y1 then x2, y2 thus selecting a region. This
region would automatically be in the clipboard ready for pasting into a
word document.

Is this possible via a java applet?

Regards
Roedy Green - 29 Nov 2005 17:48 GMT
>Is this possible via a java applet?

You can get a pixel grab of the screen from a SIGNED Applet with the
Robot class.  You could then use ImageIO to save it as a png or jpg
file on the local file system.  Presumably you can also write it to a
byte array and ship it back to the server.

see http://mindprod.com/jgloss/robot.html
http://mindprod.com/jgloss/imageio.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.