4

I am trying to retrieve the minimize, maximize and close icons for the JFrame from the native look and feel.

I able to do this for the InternalFrame icons like so:

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

However, I need the JFrame icons. I don't see any keys in the look and feel for JFrame icons. How do I access them?

thanks

4

1 回答 1

4

据我所知,你不能。

本机外观委托给无法从 Java 中访问的本机渲染器/对等方

JNI/JNA 可能有一种方法,但我不知道有任何

于 2012-08-24T01:35:35.910 回答