&& nodes[i].minY != Node.SAME && nodes[i].maxY != Node.SAME)
&& nodes[i].minY != Node.SAME)
        private EnvelopeCanvas(Node[] e, JTextField[] f) {	    super();	    values = f;	    nodes = e;	    nodeX = new int[nodes.length];	    nodeY = new int[nodes.length];	    //setMinimumSize(new Dimension(300, 50));	    //setPreferredSize(getMinimumSize());	    MyListener myListener = new MyListener();	    addMouseListener(myListener);	    addMouseMotionListener(myListener);	    // calculate width and height	    width = 0;	    height = 0;            for (int i = 0; i < nodes.length; i++) {		width += nodes[i].maxX;		if ((nodes[i].maxY + nodes[i].baseY > height)		    && nodes[i].minY != Node.SAME		    && nodes[i].maxY != Node.SAME)		    height = nodes[i].maxY + nodes[i].baseY;	    }        }