Research Log of Web Science Students

Computer Science is not simply programming

Forgive My Ignorance

leave a comment »

… but I just knew how to “array-ize” lists and such things.

List<List<TextBox>> descriptions = new ArrayList<List<TextBox>>();

… which is, in array form,

TextBox[][] descriptions = new TextBox[][];

Now I’m thinking if I have to initialize every widget add, or get them immediately (but I’m betting on the former).

List<VerticalPanel> vpanel = new ArrayList<VerticalPanel>();
// initialize component to add to vpanel
vpanel.add(new VerticalPanel());
// access it
vpanel.get(0);

Advertisements

Written by Paolo Sy

November 29, 2009 at 1:45 am

Posted in Hardwire

Tagged with , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: