Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Show the selected file and folder in tree structure with checkbox and the checkbox should be only..

 
shweta raghuwanshi
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

By using JFileChoor I am able to select file and folders, Getting JList with File
Objects and I am showing it with checkbox. Now my requirement is like I want to show the
selected file and folder in tree structure with checkbox and the checkbox should be only
for root elements not for all child elements. Please help me as soon as possible, for me
its very urgent.

Example : For Example, I selected folders ABC and PQR which containt sub folders and few files
now on UI It should be display like :

Checkbox1 ABC--
--SubFolders
. --SubFolder
. --Files
--Files
Checkbox2 PQR--
--SubFolders
. --SubFolder
. --Files
--Files



Regards,
Shweta
 
shweta raghuwanshi
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I Just Now Created a Image with the Expected Structure.
I hope it will be help you guys to understand the problem.

Regards,
Anand
Filename: Expected Structure.bmp
Description:
File size: 128 Kbytes
[Download Expected Structure.bmp] Download Attachment
 
Rob Spoor
Sheriff
Pie
Posts: 20669
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
shweta raghuwanshi wrote:Please help me as soon as possible, for me
its very urgent.

Please EaseUp. There is no such thing as urgent around here.

Are you already able to create the tree without the check boxes? Are you able, after having searched for solutions, to create the tree with check boxes for each node?
 
shweta raghuwanshi
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes I am able to create the Tree Structure with check box with each Nodes. But I am not able to create it as per Pic I have posted
 
shweta raghuwanshi
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am Apologized for mentioning the Urgency. I am sorry for this unconscious behavior. I will try to improve myself for the same.

Regards,
Anand
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic