0

Possible Duplicate:
Location of String keys in L&F

This here is a line in my code:

UIManager.getString("FileChooser.saveButtonText", l);

This will return a string that represents text printed on save button of JFileChooser

Where does it fetch that string from? I tried digging around src.zip, but I couldn't find it...

Community
  • 1
  • 1
Ivan Karlovic
  • 221
  • 5
  • 14
  • 1
    See also a previous question on this topic: [Location of String keys in L&F](http://stackoverflow.com/questions/12519951/location-of-string-keys-in-lf) – trashgod Sep 21 '12 at 16:22

1 Answers1

1
  1. have look at (methods are protected, then not accesible from outside)

  2. better way(my view) could be to ignore BasicXxxUI and to derive JFileChooser to the elements, that returns JFileChoosers JComponents

  3. look for Custom JFilechooerUI and another list of methods

Community
  • 1
  • 1
mKorbel
  • 109,525
  • 20
  • 134
  • 319
  • See also [*How can I add localization to `JFileChooser` for a locale that is not supported by default*](http://stackoverflow.com/q/3671868/230513)? – trashgod Sep 21 '12 at 16:51