0

When you use JFileChooser it has default folder and file icons, where are they? I want to get get their width and height params.

halfer
  • 19,824
  • 17
  • 99
  • 186
codeCompiler77
  • 508
  • 7
  • 22
  • Take a look at [this](http://stackoverflow.com/questions/1498506/java-howto-get-the-thumbnail-from-a-file) – MadProgrammer Feb 28 '16 at 06:14
  • That's not what i'm asking, The default icons that java uses. I want to open them in paint and modify them. I was wondering where they are on the drive? – codeCompiler77 Feb 28 '16 at 06:55
  • Does [this answer](http://stackoverflow.com/a/26589183/838992) give what you're looking for? e.g. `UIManager.getIcon("FileView.directoryIcon").getIconHeight();` – J Richard Snape Feb 28 '16 at 08:24
  • BTW, I'm not the down voter, but my guess is that the question is down voted because it appears to be a request for off site resources (which is explicitly mentioned as off-topic in the "asking a question" FAQ), rather than programming - although I think that's contentious in this case. – J Richard Snape Feb 28 '16 at 08:26
  • @J Richard Snap Thank you! I didn't think it was off topic but if it bother's people i can remove it. :) – codeCompiler77 Feb 28 '16 at 08:30

1 Answers1

0
UIManager.getIcon("FileView.directoryIcon").getIconHeight();

Answer by Richard Snape.

codeCompiler77
  • 508
  • 7
  • 22