更新时间:2023-12-06 15:10:34
LAF可以随意忽略某些(仅可见的?不知道的)JComponent属性的自定义设置,
LAFs are free to ignore custom settings of some (visual only? don't know) JComponent properties, as documented f.i.:
外观和感觉取决于该属性,有些人可能会选择忽略它.
It is up to the look and feel to honor this property, some may choose to ignore it.
因此,结果是高度依赖LAF的(Metal和Motif中的Worksforme,而不是Nimbus/Win中)没有简单,安全的方法(调整ui委托除外,这不是一个真正的选择)
So the outcome is highly LAF-dependent (Worksforme in Metal and Motif, not in Nimbus/Win) No easy and safe way around (except tweaking the ui delegate, which isn't a real option)