This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Testing and the fly likes Need help with mouse and button event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Need help with mouse and button event" Watch "Need help with mouse and button event" New topic
Author

Need help with mouse and button event

Krerkchai Kusolchu
Greenhorn

Joined: Nov 30, 2012
Posts: 1
Hi,

Forums users, I am just starting to learn about junit with some experiences programming in java (most of my programming was experiences in c). I would like to So I have decided to try out testing out a scribble applet with junit. However, I have run into a major problem with the testing which maybe due to my inexperience with java. I don't really know how to simulate the button and mouse click for the scribble applet. If any one can help point me out in the right direction, i would be very grateful.

Here are my codes and the scribble applet (http://oreilly.com/catalog/javanut/examples/section1/Scribble.java) I wanted to test. Also thank you in advance for an kind of help or guidance.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help with mouse and button event