Here you can find the source of getSelectedMultipleList(JList anJList)
Parameter | Description |
---|---|
anJList | JList |
protected static Object[] getSelectedMultipleList(JList anJList)
//package com.java2s; //License from project: LGPL import javax.swing.*; public class Main { /**//from ww w. jav a2 s. c om * fillList * * @param anJList JList * @return Object */ protected static Object[] getSelectedMultipleList(JList anJList) { Object[] el = null; el = anJList.getSelectedValues(); return el; } }