Bartek Myszkowski wrote:
seb petterson wrote:...I want to write a method that lets the user select an area of the screen to take a screen shot of, thus making use of mouse click coordinates
You can always get screenshot of whole screen and show it to user in full screen mode to let him select the area he wants.
Darryl Burke wrote:Nothing strange about it. Everyone doesn't want to write spyware.
Suraj Chandran wrote:I think with pure java it might not be possible.
You might need to fall down to JNI
File file = (File) attachments.get(i);
DataSource source = new FileDataSource(file);
BodyPart attachmentBodyPart = new MimeBodyPart();
attachmentBodyPart.setDataHandler(new DataHandler(source));
attachmentBodyPart.setFileName(file.getName());
multipart.addBodyPart(attachmentBodyPart);
Originally posted by Rob Prime:
Originally posted by Bear Bibeault:
Because you are paraphrasing your code, I don't know how you are really invoking your handlers. Please post actual code.
Originally posted by Bear Bibeault:
The target object is in the event instance.
Originally posted by Eric Pascarello:
when you are dealing with style rules that have two words like border-color, when you code them in JavaScript they become camel case
style.borderColor
Eric