fileBrowser.add(content);
wtkxSerializer.bind(this, TerraFileBrowserSkin.class);
driveListButton.getListButtonSelectionListeners().add(new ListButtonSelectionListener() {
@Override
public void selectedIndexChanged(ListButton listButton, int previousSelectedIndex) {
if (previousSelectedIndex != -1) {
File drive = (File)listButton.getSelectedItem();
fileBrowser.setRootDirectory(drive);
}
}
});
pathListButton.getListButtonSelectionListeners().add(new ListButtonSelectionListener() {
@Override
public void selectedIndexChanged(ListButton listButton, int previousSelectedIndex) {
File ancestorDirectory = (File)listButton.getSelectedItem();
if (ancestorDirectory != null) {