hi,
I want a code for opening a particular folder on button click.

I'm developing an file searching application for linux which gives result in jtable.
I want to open the containing folder of selected file

I able to retrive the parent folder path from jtable. I just want to open that path on button click
please help me out..................

How about JFileChooser class

How about JFileChooser class

can u tell me particular method of JFileChooser class which will help me

How about JFileChooser class

I want to open window as it open when we click on "open containing folder" in right click option of result displayed in "search for file" application provided by OS

If you look at the API, there is a basic example on how to use it. You can search for tutorials about the subject, or read the methods of the API and see what they do.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.