Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以在使用 InternalFrame.activeTitleBackground 和 InternalFrame.inactiveTitleBackground 最大化时设置标题栏背景,但是当内部框架最小化时如何设置它?
没有简单的解决方案。框架颜色是 UI 的一部分,因此您需要创建自定义 UI 来执行您想要的操作。您可以首先搜索 Java 源代码以查看“activeTitleBackground”和“inactiveTitleBackground”属性的使用位置。这将使您了解需要自定义的类和方法。