Java Swing 组件上的 Z 顺序
我一直在寻找有关这方面的一些信息,但我找不到任何关于它的实质性信息.有没有办法改变 Swing 组件的 z 顺序,或者至少改变绘制顺序,使它们看起来高于其他组件?
I've been looking all over for some mention of this, but I cannot find any substantial information on it. Is there a way to change the z-order of Swing components, or at least change the draw order so that they appear to be above others?
推荐答案
您正在寻找setComponentZOrder
这是 例子.
相关文章