是的,这是可能的。将类型改为"区域",将值改为setName("componentName"(给定的特定名称;方法。
是否可以在Swing GUI上仅设置用于特定组件或组件集的Synth外观的文件,而不更改任何其他组件的文件?
添加此
<style id="titleBarButtonsPanel">
<state>
<opaque value="false" /><!-- background of the title bar -->
<insets top="0" left="0" bottom="0" right="0" /><!-- size of the
title bar -->
<color value="red" type="BACKGROUND" />
<color value="white" type="FOREGROUND" />
</state>
</style> <bind style="titleBarButtonsPanel" type="name" key="NameOfSpecificComponent" />
在程序中添加setName("NameOfSpecificComponent"(;