SWT standalone example - File Viewer

The File Viewer example shows how a simple application can be implemented using SWT. This application provides the ability to navigate files and folders on the local file system and manipulate them using drag and drop. It uses alternate threads for long actions and demonstrates the use of the Tree, Table, and Toolbar widgets and the Program class.

Running the example

Follow the SWT standalone examples setup instructions to install and run the example from your workspace.

The "Main" class is org.eclipse.swt.examples.fileviewer.FileViewer.

This example can also be run using the Example Launcher. Select the File Viewer item from the Standalone category and click Run.