
Hi all i am developing an application in swt in which i have the condition, which is displayed in above image..
I want to display the list of available folders in the left box from where a user can select it in to the right box and similarly can remove it from the right box..
But is there is any way by which i can display the entire folder structure of my computers in the box..
If yes, then how can i achieve this.?
Thanks
You can use FileDialog but in your case it wont apply. So you need to use listdir() method of File class and list the files dynamically.