[sip-comm-dev] Proposal to add a new GUI layout

Werner Dittmann Werner.Dittmann at t-online.de
Fri Aug 13 12:56:15 CEST 2010


Dear all,

with this proposal I step into a field that is somewhat outside my main
expertise. However, I give it a try :-) .

During the last few days I got some feedback regarding SC's usability on
devices that do not have a keyboard (or only a "soft keyboard") and
use touch screens as their main user interface. The standard SC GUI requires
a keyboard to enter digits and letters, even if I just want to set up a
simple phone call.

To enhance SC's usability I did a small refactoring of the MainFrame class
(see attached TAR file with sources) and splitted it into three parts:
- an interface class, an abstract class and the real MainFrame class.

This refactoring provides a way to add new main GUI classes to accommodate
different needs. The new, touchpad oriented GUI introduces a tabbed pane
that contains a dial pad in one pane an the usual contacts in the second
pane. The use can now touch the digits and other buttons to setup a call
without the need of a keyboard. Which GUI class to use is controlled
by a new property in the user's "sip-communicator.properties" file, the new
property is:

net.java.sip.communicator.TOUCHSCREEN=true

The class "UIServiceImpl" evaluates the property. If set to true it
instantiates the touch pad oriented GUI, if false SC's standard GUI.

Attached are the files that implement the whole stuff (only a few) and
two screenshots that gove you an idea about the touch pad GUI. The implementation
works quite ok, but obviously the real GUI specialists (Yana ;-) ) would
find some waeknesses anyhow.

What do you think? Is it worth to put it into trunk?

Regards,
Werner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SC-touch4.png
Type: image/png
Size: 27728 bytes
Desc: not available
URL: <http://lists.jitsi.org/pipermail/dev/attachments/20100813/3936e3d8/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SC-touch3.png
Type: image/png
Size: 35669 bytes
Desc: not available
URL: <http://lists.jitsi.org/pipermail/dev/attachments/20100813/3936e3d8/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UIServiceImpl.java
Type: text/x-java
Size: 41884 bytes
Desc: not available
URL: <http://lists.jitsi.org/pipermail/dev/attachments/20100813/3936e3d8/attachment.java>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DialPanel.java.tar.gz
Type: application/x-gzip
Size: 24522 bytes
Desc: not available
URL: <http://lists.jitsi.org/pipermail/dev/attachments/20100813/3936e3d8/attachment.bin>
-------------- next part --------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: dev-help at sip-communicator.dev.java.net


More information about the dev mailing list