What does this line of code do?

Posted by Sean Martin on Stack Overflow See other posts from Stack Overflow or by Sean Martin
Published on 2010-03-05T14:06:24Z Indexed on 2010/03/08 11:21 UTC
Read the original article Hit count: 340

Filed under:

I'm trying to understand what this line does, but being a pretty new Java programmer I am getting a little confused. Any help would be appreciated!

JComponent container = menu == null ? popupMenu : menu;

© Stack Overflow or respective owner

Related posts about java