How do I initialize the text field (file name) in a JFileChooser?

John Zukowski

You have to work with the UI component for this:

JFileChooser fileChooser = new JFileChooser(".");
BasicFileChooserUI ui = (BasicFileChooserUI)fileChooser.getUI();
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact