Why do not make a class containing the five attributes (say MemberData) and
put that into a vector?
Also you can add another class that holds a vector and encapsulates the wanted
effect (i.e. add and remove with (already casted) MemberData objects instead
of the simple Object type) ?

Regards,
Stefan.

PS: Please note that the swing maillist is not made for basic Java questions
but for swing related ones.

[EMAIL PROTECTED] wrote:

> HI,
>     I need to create a class to extend the vector member data. My
> class need to store 5 types of data.
> For example,
>
> <pre>
> data type  : Attribute   AttributeType   DefaultValue   Action   Value
> 1st value  : att1        type1           d1             yes     value1
> 2nd value :  att2        type2           d2             no      value2
>
> </pre>
>
> my class need to contain those five data types, and the first,
> second...values will be add as a vector.
>    Can anybody show me how to create this type of class? Thanks.
>
> _______________________________________________
> Swing mailing list
> [EMAIL PROTECTED]
> http://eos.dk/mailman/listinfo/swing

_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to