CS2212-2012-G2 / SurvivorPool

CS2212 Project
Other
1 stars 0 forks source link

Add a JLabel to the bottom of the general panel #75

Closed JonDemelo closed 12 years ago

JonDemelo commented 12 years ago

Hey Kev, I tried adding a jlabel to the bottom of the general panel and I just couldn't figure out what to do, so could you please add one as displayed in the following image: http://postimage.org/image/tmfj0uw8b/ All it needs to do is always be there, and just leave it empty (""), I'll do the backend to format the string that will fill in upon the end of the game. I was thinking that you could make the lists above it a few pixels shorter so we don't effect the overall size of the panels.

I just couldn't get it to work, haha. Thanks.

Nava2 commented 12 years ago

Does this still need to happen? I think replacing another panel makes more sense.

Sent via Hubroid

JonDemelo commented 12 years ago

Yes it does. Today at work I programmed all the backend, but I encountered your new update method for the panel and I just couldn't figure out the proper usage, which halted my testing (without it being called after g.createSeason is called, i can't use the post-start buttons). If you could please either provide an example of the proper usage, that would be great, and I'll finish it up.

I'm going to just go forward with this way, as I feel like its the best choice for where/what/when we are at this time.

@Nava2

Nava2 commented 12 years ago

Just do the same thing that's there. If any mutator method is called on game data it calls that update method with the enum passed in the set to the method. Thus, the observers know what's passed. I didn't change how the update method works externally in game data, only internally. The change was completely transparent outside. On Mar 28, 2012 2:50 PM, "Jon Demelo" < reply@reply.github.com> wrote:

Yes it does. Today at work I programmed all the backend, but I encountered your new update method for the panel and I just couldn't figure out the proper usage, which halted my testing (without it being called after g.createSeason is called, i can't use the post-start buttons). If you could please either provide an example of the proper usage, that would be great, and I'll finish it up.

I'm going to just go forward with this way, as I feel like its the best choice for where/what/when we are at this time.


Reply to this email directly or view it on GitHub:

https://github.com/CS2212-2012-G2/SurvivorPool/issues/75#issuecomment-4779402

JonDemelo commented 12 years ago

Dealt with.