• Post Reply Bookmark Topic Watch Topic
  • New Topic

Custom file dialog -- download file from webservice  RSS feed

 
Nikes Shah
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends,

I have written java application that talks to webservice using Apache Axis2 framework.

From web service i am fetching 10 files dynamically.

I want to display list of files in standalone file dialog and clicking on file it should use
web service method to downlod the file.

Which feature can I use in this case?

Thanks for any help.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it is just 10 files, I would suggest a JList
 
Nikes Shah
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Number of files would be dynamic, not fixed.

I am fetching documents from Alfresco content management system which could contain
more than one version of documents.

In future I want to implement windows type folder tree, means for each document there
should be drop down tree containing all versions of that document.

Thanks for any help.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JList can't only be used for a fixed number of items - it's possible to add and remove items as needed. I'm not sure what you mean by "drop down tree", but be sure to check out the JTree component as well.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!