// if there are no posative shapes, then check for negative shapes
if (tempPosative.size() == 0){
if (tempNegative.size() == 1){
tempPosative.addElement(tempNegative.elementAt(0));
tempNegative.removeAllElements();
}
}
// if there are no posative shapes, then enter null
if (tempPosative.size() == 0) {