- jfcUnit now uses the Jakarta RegExp
package set to determine matches while finding components. So you need this
package as well in your classpath to run. The RegExp package uses POSIX style
patterns which are explained in detail at their site.
Caveat: Due to this
addition, if the search string matches two or more components, existing tests might
break.
- KeyMappings have been introduced to allow users to create special keyboard
mappings for generating International characters. See the new classes:
KeyMapping , AbstractKeyMapping , and
DefaultKeyMapping .
- A
JFCKeyStroke class has been introduced to aid in the processing
of key events.
- The Key events for special keys was previously broken emitting bogus key
press and key release events.
- Unix shell script counterparts to the windows batch files have been added.
- Create unix style '*.tar.gz' files for distribution when running the 'package'
target.
- The AWT Event queue is now only stopped when it is required for safely
performing tasks. Three API's have been added to the test case to help the
user manage the AWT Event queue.
pauseAWT() will pause the AWT
Event queue until the end of the test case or the API resumeAWT()
is called. The third new API flushes the AWT event queue. If the Event queue
was previously paused it will resume the queue's operation.
- It is now safe to run applications that perform
invokeAndWait()
on the event queue. To make sure that all events are processed, you
might want to call flushAWT() , both before and after the call to
SwingUtilities.invokeAndWait() .
- The drag operation has been fixed to no longer emit MOUSE_CLICK
events. This caused failures of some drag operations in Java 1.4.
The list of JVMs that are now supported are: jdk 1.2.2, jdk 1.3.0, jdk 1.3.1
and jdk 1.4.
- The drag operation did not work when Window location was something other than
0,0.
- When the
isPopupTrigger is specified, the default button is now
button 3.
- Testing has been added for all
XXXEventData constructors.
- Popup modifiers were incorrectly processed causing modifier events not to be
sent properly.
- It was previously imposible to locate Menu items of a
JPopupMenu
when the menu was heavy weight. This has been solved by introduction of a
new class PopupMonitor which monitors the event queue for popup
window creations, then tracks the pointers. It is essential that the
PopupMonitor.start() be called before any popup windows are
opened.
- Drag and Drop example now works properly. The drag and drop behaviors of
java.awt.dnd.* are implemented in the Peer layer and are tightly
coupled with the OS drag and drop support. Thus the only RobotTestHelper
works with the drag and drop example.
|