@Override
 public void setLocationBorders(
     int floorFrom, int shelfFrom, int boardFrom, int floorTo, int shelfTo, int boardTo)
     throws Exception {
   if (shelfFrom == 0) {
     item = floorFrom;
     setLocationBordersByItem(item);
     /*
      * System.out.println("item:"+item); Object[]
      * obs=stackSorterUse.getShowInfo(item); System.out.println("ok.");
      * // Object[] obs=(Object[])ob; long[] position=(long[])obs[0];
      * LinkedList<Triple> ebabTriples=(LinkedList<Triple>)obs[1];
      * LinkedList<StackSorterTriple>
      * triples=(LinkedList<StackSorterTriple>)obs[2];
      * makeSpines(triples); makeBoards(ebabTriples);
      */
   } else {
     lastPosition = null;
     if (boardFrom == 0) {
       Long itemSet = stackSorterUse.getFirstRegalItemSet(floorFrom, shelfFrom);
       if (itemSet != null) {
         Hashtable<String, Serializable> itemInfo = stackSorterUse.getItemInfo(itemSet);
         if (itemInfo != null) {
           String itemString = (String) itemInfo.get("item");
           if (itemString != null) {
             setLocationBordersByItem(Integer.parseInt(itemString));
           }
         }
       }
     } else {
       // noch machen.
     }
   }
 }
 protected void setLocationBordersByItem(int item) throws Exception {
   System.out.println("item:" + item);
   Object[] obs = stackSorterUse.getShowInfo(item);
   System.out.println("ok.");
   // Object[] obs=(Object[])ob;
   lastPosition = (long[]) obs[0];
   LinkedList<Triple> ebabTriples = (LinkedList<Triple>) obs[1];
   LinkedList<StackSorterTriple> triples = (LinkedList<StackSorterTriple>) obs[2];
   makeSpines(triples);
   makeBoards(ebabTriples);
 }