@Override public Object getElementAt(int index) { try { return tinfo == null ? null : tinfo.getFrame(index); } catch (VMNotInterruptedException e) { // ### Is this the right way to handle this? // ### Would happen if user scrolled stack trace // ### while not interrupted -- should probably // ### block user interaction in this case. return null; } }