double bestRatio = 0.0; ScreenDockProperty property = args.getProperty();
ScreenDockProperty property = args.getProperty();
@Override public void dropped( ScreenDockStation station, DropArguments arguments, boolean successfull ){ if( pending != null && successfull ){ DockStation child = arguments.getDockable().asDockStation(); DockableProperty successor = arguments.getProperty().getSuccessor(); if( successor == null || !child.drop( pending, successor )){ child.drop( pending ); } } pending = null; } }