How do you hide a patchchord using Java?

asardar's icon

When you use the patcher, you can connect two max boxes. However, it doesn't return a 'patchchord' object. Is there is a way to hide-on-lock a patch chord dynamically through java?