SWT programming questions# Java - 爪哇娇娃
c*t
1 楼
I am working on an XML to SWT tool, similar to CookSwing I posted a few
days ago.
Questions 1:
How do you figure out if a Color can be disposed? According to apidoc,
system color must not be disposed...
Question 2:
Are child widgets disposed when the container (like Display, Shell, etc)
are disposed?
Question 3:
Are fonts/colors disposed automatically when the widget using them
gets disposed (assume no sharing)? Or should I attach a DisposeListener
to the widget that explicitly free the resour
days ago.
Questions 1:
How do you figure out if a Color can be disposed? According to apidoc,
system color must not be disposed...
Question 2:
Are child widgets disposed when the container (like Display, Shell, etc)
are disposed?
Question 3:
Are fonts/colors disposed automatically when the widget using them
gets disposed (assume no sharing)? Or should I attach a DisposeListener
to the widget that explicitly free the resour