| This class is mainly needed when copying a form to the clipboard. The Swing
copy/paste implementation serializes the data during the paste operation
rather than the copy. If the user switches editors, this can cause problems
with the form containment hierarhcy and it won't correctly save its state.
So, we use this class to force the form to save to a byte array when the copy
command is invoked. Since the form must have focus at that point, the state
is correctly saved.
author: Jeff Tassin |