[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Dynamic placement of composites on composites

Have you relayouted the parent composite after the new composite was created? If you are using a canvas you might also need to redraw.

Look at layout() and all its derivates.

Regards
Stefan

Mike Williams wrote:
Hi, I'm writing a program to play poker, and as user's join the table, their cards and such need to appear on a composite. As users join or leave, their cards and such are created and disposed of accordingly. Unfortunately, I can't get the players to appear on the parent composite when they join the room. They are set to visible, but still nothing. Any ideas of how to create a composite and make it visible on another composite during runtime?

Thanks, Mike