From: Kevin D. <sup...@ya...> - 2005-12-14 16:40:23
|
the 1st one sends an event as if it was done at the OS level (if using RobotHelper), where as the second one essentially calls the buttons actionPerformed() call. --- isaachanstar <isa...@gm...> wrote: > (redirected from java-gui-testing; please to not > reply to that group) > In JFCUnit, what difference between these two pieces > of code: (button > is one JButton) > > 1. getHelper().enterClickAndLeave(new > MouseEventData(this, button)); > > 2. button.doClick(); > > Thanks > > > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |