Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JFileChooser details/list

Status
Not open for further replies.

Toe

Programmer
Oct 26, 2001
71
0
0
GB
hi,

i am creatign a JFileChooser dialog to alow the user to select a file, but the details/list buttons at the top right seem to be greyed out and it only seems to display in the 'list' mode.

How can i get it to enable/respond to the 'details' button such that it desplays the fiel details view.

thanks,

andy
 
works on linux:
Code:
 import java.io.File;
import javax.swing.JFileChooser;

public class FileChooserBug
{
	public static void main (String [] args) 
	{
		JFileChooser fc = new JFileChooser (new File ("/"));
		fc.showOpenDialog (null);
	}
}
I get a 'size' and 'last modified' column.

don't visit my homepage:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top