I create a program in Java. I draw Jtree - tree. For parent elements, it substitutes the folder icon, and for children, the file icon.

Question. Where are these standard icons icons? Used OS just in case WinXP.

    1 answer 1

    In the JRE directory ( C:\Java\your.jre.dir ) there is a resources.jar library with javax.swing.plaf and com.sun.java.swing.plaf packages - look there. In the case of additional L & F kits, of course, it is necessary to look in the corresponding jar-files.

    • Thank. I apparently looked bad before. Path to pictures: path_to_resources.jar \ javax \ swing \ plaf \ metal \ icons \ ocean - korwru