Hi

On Sat, 2007-03-31 at 01:53 +0530, Ravindra Harige wrote:
> 
> Hi,
> I think GNOME bindings 'll  prevent my app to be cross-platform
> compatible.

Not really! Since GTK/GNOME itself is cross platform, all GTK/GNOME
bindings, will also, by definition be cross platform. Java-GNOME runs
well on Linux, Solaris and Nokia's N770 tablet platforms too! We haven't
tried it out on Windows, but there is no reason it shouldn't work on it.

> and as far as the question of looking consistent with other desktop
> apps is there,
> jdk 6 project(Mustang) has come up with new Swing GTK LookAndFeel  
> which adapts GNOME theme and renders swing component appropriately.

As I mentioned before, there is more to ``LookAndFeel'' than Window
themes. The ability to integrate with a desktop environment and most
importantly cross _application_ compatibility, is something that Swing
inherently lacks wrt GNOME. I'll give you an example:

Tomboy for GNOME, is written in C# and runs with Mono and GTK#. You can
drag and drop emails from Evolution directly into your Tomboy note and
it would pick it up and render as needed. This is because you can write
plugins for Evo, using C#!

> If i look for
> advantages/features specific to desktop environments then there are
> many 
> frameworks available like java-GNOME for GNOME,QtJava / KDEJava for
> KDE,SWT,etc. 

Indeed there are! And the bindings and GUI toolkit are entirely your
choice! If it so happens that you would like to use the GTK toolkit to
write apps for GNOME and you would wish to write them from Java, then
Java-GNOME is most suitable for your needs. Or so we think.

> It would take considerable amt of time to learn any of them..i guess.

If you know and understand GTK's semantics, then shifting from any
language to any other should not take you much time. GTK is actually
quite easy to learn. IAC, this is a one time investment. Figure out
using GTK from your favourite language and shifting to any language will
be a matter of a couple of hours at most.

> how much is it advisable to spend time learning new
> framework for issues like
> application's visual compatibility / using desktop env. specific
> features(like gnome applets,etc)?? 

Totally your choice! I mean, if writing your GUI using C/C++ or Swing
works for you, then that's it! If your application needs good and clean
integration with the desktop or other GNOME/<insert fav desktop>
environment, then probably GTK or a comparable toolkit is your answer.

> wouldn't it be good to put same effort for working on core project
> (which is cross-platform compatible)??
> just a thought.

Same as above: Your choice!
However, GTK bindings are generally available on the same platforms that
GTK itself is, including Windows.

However, I just thought I'd mention this point:
Linux/Solaris have been suffering lower adoption rates since the UI is
thought to be unfriendly and "unintuitive". Traditionally apps in our
world, have been really powerful, but lacking in good and clean user
interfaces. So yes, while having your "core project" working really well
is of utmost importance, it would also be really cool to have a good
user interface that blends well with the desktop environment!

> regards.

Regards,
Srichand

-- 
Srichand Pendyala
MS Ramaiah Institute of Technology

Phone: +91 988 615 2042
URL: http://srichand.net.in

Mukthi 7.04 - A premier student focused free and open source event!
11th and 12th April, MSRIT
http://mukthi.vrlinug.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: 
<http://mail.opensolaris.org/pipermail/ug-bosug/attachments/20070331/08bd9dd1/attachment.bin>

Reply via email to