public void setInputList ( final List < PathLabel > inputRefs ) { this . inputRefs = inputRefs ; SwingUtilities . invokeLater ( new Runnable ( ) { public void run ( ) { for ( int i = 0 ; i < inputRefs . size ( ) ; i ++ ) { imageBox . addItem ( inputRefs . get ( i ) . getLabel ( ) ) ; } } } ) ; }
Specifies a list of images to use as input and loads them