- 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
- KeyMappings have been introduced to allow users to create special keyboard
mappings for generating International characters. See the new classes:
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'
- 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
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
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
- 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
- When the
isPopupTrigger is specified, the default button is now
- Testing has been added for all
- Popup modifiers were incorrectly processed causing modifier events not to be
- It was previously imposible to locate Menu items of a
when the menu was heavy weight. This has been solved by introduction of a
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
- 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
works with the drag and drop example.