if (c.width == d.width && c.height == d.height) {
if (d.width == c.width && d.height == c.height) {
public void componentResized(ComponentEvent e) {    Dimension d = e.getComponent().getSize();			// get new size    if (c.width == d.width && c.height == d.height) {	return;		// discard program-generated resize    }    c.resize(null, d.width, d.height);				// resize image    enqueue(vInteger.New(Resize), d.width, d.height, null);	// enqueue event}