WindowsFileChooserUI.java revision 614
0N/A private boolean useShellFolder;
0N/A private void populateFileNameLabel() {
0N/A super(filechooser);
0N/A public boolean isDirectorySelected() {
0N/A public boolean usesShellFolder() {
0N/A return useShellFolder;
0N/A return getMinimumSize();
0N/A directoryComboBox.putClientProperty( "JComboBox.lightweightKeyboardNavigation", "Lightweight" );
0N/A b.setFocusPainted(false);
0N/A b.setFocusPainted(false);
0N/A BufferedImage image = new BufferedImage(viewMenuIcon.getIconWidth() + 7, viewMenuIcon.getIconHeight(),
0N/A viewMenuButton.putClientProperty(AccessibleContext.ACCESSIBLE_NAME_PROPERTY, viewMenuButtonAccessibleName);
0N/A viewMenuButton.putClientProperty(WindowsLookAndFeel.HI_RES_DISABLED_ICON_CLIENT_KEY, Boolean.TRUE);
0N/A public void setPressed(boolean b) {
0N/A public void setSelected(boolean b) {
0N/A super.setSelected(b);
0N/A new FocusAdapter() {
0N/A private void updateUseShellFolder() {
0N/A if (useShellFolder) {
0N/A return buttonPanel;
0N/A return bottomPanel;
0N/A listViewButtonAccessibleName = UIManager.getString("FileChooser.listViewButtonAccessibleName",l);
0N/A detailsViewButtonToolTipText = UIManager.getString("FileChooser.detailsViewButtonToolTipText",l);
0N/A detailsViewButtonAccessibleName = UIManager.getString("FileChooser.detailsViewButtonAccessibleName",l);
0N/A viewMenuButtonAccessibleName = UIManager.getString("FileChooser.viewMenuButtonAccessibleName",l);
0N/A return createActionMap();
0N/A super.uninstallUI(c);
0N/A (fc.isDirectorySelectionEnabled() && fc.isFileSelectionEnabled() && fc.getFileSystemView().isFileSystemRoot(file))){
0N/A return new PropertyChangeListener() {
0N/A doFilterChanged(e);
614N/A if (o != e.getOldValue()) {
0N/A protected void removeControlButtons() {
0N/A protected void addControlButtons() {
0N/A if(directorySelected) {
0N/A return new DirectoryComboBoxRenderer();
0N/A boolean cellHasFocus) {
0N/A public int getIconWidth() {
0N/A public int getIconHeight() {
0N/A return new DirectoryComboBoxModel();
0N/A public DirectoryComboBoxModel() {
0N/A if (useShellFolder) {
0N/A } catch (IOException e) {
0N/A private void calculateDepths() {
0N/A return selectedDirectory;
0N/A return new FilterComboBoxRenderer();
0N/A boolean cellHasFocus) {
0N/A return new FilterComboBoxModel();
0N/A protected class FilterComboBoxModel extends AbstractListModel implements ComboBoxModel, PropertyChangeListener {
0N/A protected FilterComboBoxModel() {
0N/A return approveButton;