简体   繁体   English

如何强制TeeChart画廊重新粉刷?

[英]How to force TeeChart gallery repaint?(swing)

When I switch to/from 3D mode in graphics gallery, old version is still visible, it's removed only if I resize gallery(it's child of JDialog class) 当我切换到图库中的3D模式或从中切换到3D模式时,旧版本仍然可见,仅当我调整图库大小时才将其删除(它是JDialog类的子级)

Here is demo: 这是演示:

错误的演示

Tried lots of methods - all these repaint, revalidate, refresh... etc, they don't work :( 尝试了很多方法-所有这些重新绘制,重新验证,刷新...等等,它们不起作用:(

So how can I force it to redraw like when it's resized? 那么,如何强制它像调整大小一样重新绘制? (I am rewriting code of teechart in my local version ) (我正在用本地版本重写teechart的代码)

Another customer reported the same some time ago here . 另一位客户前一段时间在这里报告了同样的情况。
As you can see, I've just fixed it so the next maintenance release will included that. 如您所见,我已经对其进行了修复,因此下一个维护版本将包含该内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM