[jitsi-dev] Combine dial pad together with main frame


#1

Hi all,

I have managed to combine the dial pad together with the main frame by
adding some codes. However, clicking on the dial pad numbers do not
reflect on the call field. Can anyone help me with this? Or does anyone
have any idea or know which part of code gets the dial pad number being
pressed reflect in the call field?? Thanks a lot in advance.


#2

Hi Winona,

ยทยทยท

On Sep 28, 2012, at 12:08 PM, <kwok.winona@gmail.com> wrote:

Hi all,

I have managed to combine the dial pad together with the main frame by
adding some codes. However, clicking on the dial pad numbers do not
reflect on the call field.

Can anyone help me with this? Or does anyone
have any idea or know which part of code gets the dial pad number being
pressed reflect in the call field?? Thanks a lot in advance.

I'm assuming that you've integrated just the buttons from net.java.sip.communicator.impl.gui.main.GeneralDialpadDialog (without the call field) and you want to show the typed number in the general search/call field in the mainframe. If this is the case the field shown on top of the contact list is here net.java.sip.communicator.impl.gui.main.contactlist.SearchField. So you just need to call it's searchField.setText method when a dialpad button is pressed. Make sure that you update the search logic in SearchField class depending on your use case and modifications.

Hope this helps,
Yana


#3

Hi,

Thanks for your recommendation. I actually did integrate the callfield
together with the buttons. But when clicking the buttons, there is the
tone ringing, just that it doesn't reflect the number being clicked on
the callfield. Or is there any right way in integrating them? Because I
took bits and pieces from the GeneralDialPanel.java and
GeneralDialPadDialog.java and integrate them in the MainFrame.java.

Thanks for your help!