Hi,
Which is the best way to refresh tee chart ?
doInvalidate() ?
repaint()?
refreshControl()?
revalidate() ?
doLayout() ?
Thanks,
Varun
Refresh teechart
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Varun,
I don't think there are very important differences between doInvalidate(), repaint() and refreshControl() as all end up calling Component.java's repaint method. doInvalidate() and repaint() do exactly the same. While refreshControl() may be a little more eficient since it does some previous checkings as whether the control should be rendered or not.
I don't think there are very important differences between doInvalidate(), repaint() and refreshControl() as all end up calling Component.java's repaint method. doInvalidate() and repaint() do exactly the same. While refreshControl() may be a little more eficient since it does some previous checkings as whether the control should be rendered or not.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
![]() ![]() ![]() ![]() ![]() ![]() |
Instructions - How to post in this forum |