资讯

Compile Listing 1 (javac FCDemo.java) and run the application (java FCDemo). Figure 1 shows the resulting user interface, which presents buttons for creating/showing open and save file choosers.
Traditionally, users choose files by scrolling the file chooser's list with their mice. You can speed that process by enhancing JFileChooser with a type-ahead method: the user just types the first ...