Chris A
Chris A

Reputation: 1100

What does "ed" mean in a JLabel constraint?

Background

I am working on some code written by someone no longer at the company where I work, and I'm trying to figure out how he has written the constraints on a label.

I have very little experience working with GUI so I'm trying to figure out what's going on.

What I've tried

I've looked on a couple of references... http://www.migcalendar.com/miglayout/mavensite/docs/cheatsheet.html http://www.miglayout.com/whitepaper.html ...

and I just about understand the syntax in this line:

  this.add(new JLabel(icon), "pos (ed" + i + ".x-pref) (ed" + i + ".y)");

except for the ed parts. What purpose is ed serving in this line?

Upvotes: 1

Views: 48

Answers (0)

Related Questions