ResultSet rsTab = oraConn.executeStatement("select * from user_constraints where constraint_name='"+constraintName+"'");
rsTab.next();
String tName = rsTab.getString("TABLE_NAME");
display(g2,tName,size,left,top);
drawString(g2,new Font("DialogInput", Font.PLAIN, 8),Color.BLUE,constraintName,3+left-hDistance,top-3);
GKarGraphElement elem = new GKarGraphElement();
elem.setElement("constraint",constraintName, 3+left-hDistance, top-10, 3+left, top);
elements.add(elem);
drawLine(g2,left+2-hDistance,lineTop,left+2-hDistance,top);
drawLine(g2,left+2-hDistance,top,left-3,top);
ResultSet rs = oraConn.executeStatement("select a.* from user_constraints a, user_constraints b where a.constraint_type='R' and a.r_constraint_name=b.constraint_name and b.table_name='"+tName+"'");
int sTop = top+4;