MinieExamples/src/main/java/jme3utilities/minie/test/DropTest.java
/**
     * Delete the most recently added drop.
     */
Delete the most recently added drop.
Delete the most recently added drop .
private void deleteLastDrop() {
        Drop lastDrop = drops.peekLast();
        if (lastDrop != null) {
            lastDrop.removeFromSpace();
            if (lastDrop == selectedDrop) {
                selectDrop(null);
            }
            drops.removeLast();
            activateAll();
        }
    }
private void deleteLastDrop ( ) { Drop lastDrop = drops . peekLast ( ) ; if ( lastDrop != null ) { lastDrop . removeFromSpace ( ) ; if ( lastDrop == selectedDrop ) { selectDrop ( null ) ; } drops . removeLast ( ) ; activateAll ( ) ; } }
Delete the most recently added drop.
Delete the most recently added drop .