* This is called in the constructor.
* @param frame The frame to use, or null if none is specified.
* @exception IllegalActionException If the frame cannot be created.
*/
public void createFrame(TableauFrame frame) throws IllegalActionException {
TokenEffigy effigy = (TokenEffigy) getContainer();
if (frame == null) {
// The second argument prevents a status bar.
frame = new TableauFrame(this, null);
}
setFrame(frame);
_picture = new Picture(_oldxsize, _oldysize);
frame.getContentPane().add(_picture, BorderLayout.CENTER);
// Display current data.
Iterator tokens = effigy.getTokens().iterator();
while (tokens.hasNext()) {
Object token = tokens.next();
display((ImageToken) token);
}