/** Handles cursor backward */ public static void runB() { try { list.cursorBackward(); System.out.println("Cursor successfully moved backward."); } catch (NullPointerException e) { System.out.println("Can't move cursor backward"); } }