Sunday, 29 September 2013

how to work on JList

how to work on JList

I want to add files in JList and when user selects the file and clicks
open then he should be able to open that selected.
I am trying to code this, will I be able to only display the path of the
file in the list? So that when user clicks then we get that path where
user clicked and open the file.
If so then, is it possible to list only the filename and not its paths so
that even then when user clicks on that file name he should be able to
open it.
If its possible just tell me how to do it na.. I don't want coding i just
need a practical idea on this..i am coding all this using java..

No comments:

Post a Comment