Restore java swing JFrame Icons

I am trying to extract minimization, maximization and close icons for a JFrame from my own appearance.

I can do this for InternalFrame icons as follows:

icon = UIManager.getIcon("InternalFrame.maximizeIcon"); 

However, I need JFrame badges. I do not see any keys in the design of the JFrame icons. How do I access them?

thanks

+4
source share
1 answer

As far as I know, you cannot.

Native look and feel and delegation to a native renderer / peer that is not accessible from inside Java

There may be funds from JNI / JNA, but I don’t know any

+4
source

All Articles