Advertisement

09.22.2003 at 06:58AM PDT, ID: 20745100
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

want to do a scrren capture out from a java applet and upload the screenshot to the server.

Asked by ragerino in Programming Languages

Tags: , ,

hi there.

1st: i'm developing intranet-applications. and sometime a customer complains about an error. and most of the time it is hard to find the error because the things the user tells me and things that really happened differ a little bit :) so i want to integrate a java-applet into my apps. the applet should be able to capture the users screen (window) and send it via post to the server (domino server). (maybe the binary-data of the image has to be converted to a long hex-string and put into a textfield)



2nd: i want to do something similar like http://www.lawrencegoetz.com/programs/signature/. in this case i just need to capture the applet and send it to a server.

here's the code from my first steps: (for some reason this doesnt work with the native IE-JavaVM)

unterschrift.java (simply comile with javac unterschrift.java)
------------------------------------------------------------------
import java.applet.Applet;
import java.awt.Event;
import java.awt.Graphics;

public class unterschrift extends Applet {
      int xpoint;
      int ypoint;

      public boolean mouseDown(Event e, int x, int y) {
            xpoint = x;
            ypoint = y;
            return true;
      }

      public boolean mouseDrag(Event e, int x, int y) {
            Graphics g = getGraphics();
            g.drawLine(xpoint, ypoint, x, y);
            xpoint = x;
            ypoint = y;
            return true;
      }
}
------------------------------------------------------------------


unterschrift.html
------------------------------------------------------------------
<html>
<body bgcolor=#cccccc align=center>
Unterschrift zeichnen.
<p>
<applet code="unterschrift.class" width=800 height=350>
</applet>
</body>
</html>
------------------------------------------------------------------

thanx in advance
ragerinoStart Free Trial
[+][-]09.22.2003 at 06:48PM PDT, ID: 9410015

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Programming Languages
Tags: capture, java, applet
Sign Up Now!
Solution Provided By: shaic
Participating Experts: 1
Solution Grade: A
 
 
[+][-]09.25.2003 at 07:05AM PDT, ID: 9428517

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.25.2003 at 07:05AM PDT, ID: 9428522

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.02.2004 at 02:57AM PST, ID: 10251539

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32