Class SplitPane
java.lang.Object
|
+--SplitPane
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.ListSelectionListener
- public class SplitPane
- extends java.lang.Object
- implements javax.swing.event.ListSelectionListener
The SplitPane class creates a vector of jpeg file names from a directory
path, creates a split pane, and then displays the filenames on the left
and the image on the right.
Constructor Summary |
SplitPane(java.lang.String folder)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SplitPane
public SplitPane(java.lang.String folder)
getImageList
public javax.swing.JList getImageList()
getSplitPane
public javax.swing.JSplitPane getSplitPane()
valueChanged
public void valueChanged(javax.swing.event.ListSelectionEvent e)
- Specified by:
valueChanged
in interface javax.swing.event.ListSelectionListener