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.
我有一个 JFrame,在这个 JFrame 中,我通过调用 frame.add(somePanel) 放置了一个 jPanel。然后我设置 frame.setIgnoreRepaint(true)。这是委托给它的孩子(jPanel),还是我需要单独为 somePanel 调用 setIgnoreRepaint?