Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] java.util.Vector versus java.util.List

Hi,

I am wondering why SWT use Vector and not List.
By example in the class org.eclipse.swt.custom.StyledText :

684   class RTFWriter extends TextWriter {
685   static final int DEFAULT_FOREGROUND = 0;
686   static final int DEFAULT_BACKGROUND = 1;
687   Vector colorTable, fontTable;
688   boolean WriteUnicode;

It's legacy code ? SWT needs to use synchronized list ?

Thanks in advance,
Sylvain

Back to the top