How Does where.nameIs() Work?

I'm trying to grab a JLabel with LIFT using where.nameIs(), but I'm probably misunderstanding what that looks for. I assumed it looked for an instance variable of that name, but that didn't seem to retrieve the label. Is there something else I should be doing?

Thanks,

--Steve

Groups:

Comments

Stephen Gilbert

Sorry, I figured it out.

I feel kind of silly. I just realized that all GUI components have a "name" property, which I've never used before. When I added that, the code worked, of course.