/[classpath]/classpath/javax/swing/plaf/basic/BasicFileChooserUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicFileChooserUI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by rabbit78, Tue Oct 18 22:10:32 2005 UTC revision 1.16 by abalkiss, Tue Nov 1 19:07:42 2005 UTC
# Line 1909  public class BasicFileChooserUI extends Line 1909  public class BasicFileChooserUI extends
1909     */     */
1910    public String getApproveButtonText(JFileChooser fc)    public String getApproveButtonText(JFileChooser fc)
1911    {    {
1912      if (fc.getDialogType() == JFileChooser.SAVE_DIALOG)      if (fc.getApproveButtonText() != null)
1913          return fc.getApproveButtonText();
1914        else if (fc.getDialogType() == JFileChooser.SAVE_DIALOG)
1915        return saveButtonText;        return saveButtonText;
1916      else      else
1917        return openButtonText;        return openButtonText;

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26