}
public Vote previewSheetClose(final Sheet sheet, final boolean result) {
// Start a close transition, return false, and close the window
// when the transition is complete
Vote vote = Vote.APPROVE;
Window owner = sheet.getOwner();
if (!owner.isClosing()
&& closeTransition == null) {
int duration = SLIDE_DURATION;