Here you can find the source of ensureSelectionIsVisible(final JList list)
public static void ensureSelectionIsVisible(final JList list)
//package com.java2s; import javax.swing.JList; public class Main { public static void ensureSelectionIsVisible(final JList list) { }/*from w ww. j a v a 2 s .c o m*/ }