Opened 16 years ago
#161 new defect
Car instances store SWT images
Reported by: | Henrik Heimbuerger | Owned by: | nobody |
---|---|---|---|
Priority: | minor | Milestone: | MS4: Future extensions |
Component: | ui | Version: | pre-1.0 |
Keywords: | car, swt image | Cc: |
Description
Every instance of the Car class currently stores its corresponding SWT image. This image is in memory during the whole session and never properly disposed.
SWT images should be kept out of the data storage classes and only used in the UI classes. Remove the swtImage field completely from the Car class and generate/store it in the UI classes whereever necessary.
Note: See
TracTickets for help on using
tickets.