Sorry for the late reply. I've looked at the screenshots as you send them, but wanted to try it from source before writing to you.
I'm glad to have your reply Yana. Thank you so much.<330.png>
We thought, that component orientation needs to be changed in order to create a much beautiful conference UI.
Also it had to facilitate the newly created sound level indicators as well.
So I came up with a new design for our conference UI.
Check the following link to see the new UI.
You've done a very good job here! I've tried it myself and it looks great. I had some remarks about white panels, but they're looking differently now, may be you have changed something or it's just the mac version (see attached image)?
Ya.. I have changed them a bit. Now the white panels have rounded corners.. I hope the new look is much better than the earlier one.
I have some more questions, hope you don't mind. I saw that you've set the ConferencePanel to be used by default. This is just for test purposes, right?
Yes. it is. As the conference itself has not been implemented yet, I didn't had a way to dynamically choose between the CallPanel and the ConferencePanel. So, for the moment I kept the ConferecePanel as default.
Something that bothers me is the sound indicator size. I like the new look very much. However when the window is enlarged the indicator stays the same in the middle of the panel and the panel looks quite empty. What we could do is add some more sound level bars each time the panel is enlarged and remove them when it's diminished. This way we could layout the image in the left and the sound level indicator would fill the space that lefts.
Mm... This needs some working because currently the NO_OF_SOUND_LEVELS is kept as a constant. I'll work on it. Can you suggest me the proper LayoutManager that I should use in order to facilitate this adding and removing functionality when the panel size changes?
As a much easier alternate approach what if we just change the width of a sound level bar when the panel is resized?
I had a quick look at your code and I think that one way to resolve the issue is to add a ComponentListener to the ParticipantSoundLevelIndicator. On componentResized you can add/remove bars from the panel. Then you can use a BorderLayout in the ConferenceParticipantPanel and add the sound indicator in the Center area. I'm not sure if this would work smoothly, it's just an idea to try.
Otherwise, when you said that the number of sound levels is kept as a constant, I verified and noticed that you set the NO_OF_SOUND_LEVELS to 6 in the SoundLevelCalculator (in the media package) and then you presume in the gui that the number of sound levels is 6, which is not very accurate. Instead you should fix a range in the SoundLevelCalculator (from MIN to MAX) and note that range in the javadoc of all the listeners on the way to the gui. In the gui then you can keep whatever number of sound level bars you want (some multiple of max for example) and just calculate how the level you get from the listener / MAX should be represented in your gui number of bars.
Hope this helps!
On Aug 4, 2009, at 1:02 PM, Dilshan Kanchana wrote:
We should also think of a way to differentiate the local participant with a particular title color or border. We could also add "me" in the title. WDYT?
This is easy. I'll do it right now.
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com