• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Need help with mouse and button event

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
It means our mission is in jeapordy! Quick, read this tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!