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.
在我正在构建的 Eclipse RCP 应用程序中,我注意到当我重建部分 GUI(通过添加/删除控件)时,GUI 会在每次修改后立即更新和重绘,这会导致闪烁效果。
有没有办法启用双缓冲,这样 GUI 刷新只会在事件分派周期结束时发生一次?
尝试:
Control#setRedraw(false); ... modify ... Control#setRedraw(true);