Linked by Eugenia Loli on Fri 7th Dec 2007 06:25 UTC, submitted by poundsmack
Qt Jambi ships as a single Java library, or JAR (Java Archive) file, plus a handful of tools, including an interface layout and design tool, and an Eclipse plug-in. Trolltech uses its vaunted Qt C++ library as the GUI engine and puts Java wrappers around it. This approach uses the JNI (Java Native Interface) to call the necessary functions from Java. More here.
Thread beginning with comment 289416
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[8]: Unconvinced
by segedunum on Fri 7th Dec 2007 21:12 UTC in reply to "RE[7]: Unconvinced"
segedunum
Member since:
2005-07-06

Um.. Yes, actually, you can.

Oh right. So I can open Netbeans or Eclipse or whatever, create a new project called 'Gnome Control Panel Applet' and it will give me a Gnome Control Panel Applet project with the UI designer and all the boiler plate code required?

Um... Wrong again. Yes you can.

Oh right. So I can open Netbeans or Eclipse or whatever, create a new project called 'Gnome System Tray Applet' and it will give me a Gnome System Tray Applet project with the UI designer and all the boiler plate code required?

Oh, and I can write all the Gnome Control Panel and System Tray Applet code completely in Java?

As for the third one, Java 6_01 and later pick up the GNOME loon and feel just fine. So well, that you almost certainly wouldn't be able to tell the difference.

1. It's taken them ten years to get anywhere near it.

2. They're not Java Gnome applications, and you're not using any of the desktop environment at all. They are Java applications with some inherited look and feel, which isn't hard to do. Creating an application or applet on the 'Java Desktop System' goes a whole lot deeper than that.

3. I haven't seen a Java 6 app yet.

You really should get your facts straight about Java before you post this kind of stuff.

No, you just don't understand what I'm talking about.

Of course, you can also use the Java GNOME bindings. So not only can you do everything you claimed can't be done in Java. But there is more than one way you can do it in Java.

So for the first couple of points in this comment, you're confirming they're both a no then?

Edited 2007-12-07 21:13

Reply Parent Score: 4

RE[9]: Unconvinced
by mikeurbandz on Fri 7th Dec 2007 21:25 in reply to "RE[8]: Unconvinced"
mikeurbandz Member since:
2007-10-29

> Oh right. So I can open Netbeans or Eclipse
> or whatever, create a new project called 'Gnome
> Control...

You are backpeddling and trying to change your requirements now though. You never said "Can I open my IDE and create it having a ready made framework for me". You flat out said it couldn't be done. And it CAN be done.

And actually, if you wanted to write a plugin for NetBeans or Eclipse that had support for that project type, you could even do it the way you want. Select "GNOME panel applet" as the project type and then just fill in the blanks.

> 1. It's taken them ten years to get anywhere near
> it.

So? You are changing your story again. You never said "it took to long to get there" you said "It can't be done". And you were wrong. That's all there is to it. You were wrong.

> They are Java applications with some inherited
> look and feel, which isn't hard to do. Creating
> an application or applet on the 'Java Desktop
> System' goes a whole lot deeper than that.

I know it does. And that is where JDIC comes in. JDIC IS using the native desktop environment. That's the point of JDIC.

> No, you just don't understand what I'm talking
> about.

Yes, I do understand what you are talking about. But you haven't ever heard of JDIC. That much is obvious. Because you are making technical claims about it now that aren't correct. JDIC DOES use the native desktop environment. That is why you are able to write GNOME panel applets and such using it.

> So for the first couple of points in this
> comment, you're confirming they're both a no then?

No. I am saying YES. And I am telling you that you are the one who doesn't understand. Not me. JDIC != Swing L&F emulation. JDIC is a different animal altogether, that actually does integrate with the native desktop environment to allow to to write things like panel applets in Swing that you could not otherwise write using just straight Swing.

Edited 2007-12-07 21:30

Reply Parent Score: 2

RE[10]: Unconvinced
by segedunum on Fri 7th Dec 2007 22:17 in reply to "RE[9]: Unconvinced"
segedunum Member since:
2005-07-06

You are backpeddling and trying to change your requirements now though. You never said "Can I open my IDE and create it having a ready made framework for me". You flat out said it couldn't be done. And it CAN be done.

That's exactly what I meant, and in your zeal to get in there and 'prove me wrong' you've made yourself look like an ejit. Too bad.

I asked if I could create a Gnome Control Panel Applet or a Systray Applet - in Java, meaning pure Java and Java tools, all-in-one. The answer is no.

And actually, if you wanted to write a plugin for NetBeans or Eclipse that had support for that project type, you could even do it the way you want.

Yer. It can't be done. There's only so many ways you can say this. If I'm writing a desktop application within a 'Java Desktop System' I'm not interesting in writing plugins Sun should be giving me anyway. As a developer I'm disinterested already.

You are changing your story again. You never said "it took to long to get there" you said "It can't be done".

Yawn. I haven't actually seen any Java 6 apps yet, and not ones that use Swing. What's going to be done for all the legacy applications, and people still developing with Java 2, 1.3, 1.5 etc.? Here's a taster:

http://forums.java.net/jive/thread.jspa?messageID=227915

As far as I and many developers are concerned, that means 'can't be done'. That's what you don't understand. You can either do it there and then, or you can't. You can't keep saying "Well, upgrade to this version and use this add-on and if you write this plugin......"

But you haven't ever heard of JDIC. That much is obvious. Because you are making technical claims about it now that aren't correct.

JDIC is exceptionally poor and limited, and again, it's not a part of Java as-is, and it's something I have to go hunting around for as a developer.

In the real world of development, if you can't do something like Project -> New Project -> Control Panel Applet, it can't be done. The Java Desktop System, quite frankly, is not any kind of Java Desktop System.

No. I am saying YES.

You just told me I'd have to resort to JDIC and Java Gnome beyond that - and handle that in my deployment and installation.

Desktop integration. Sadly, few seem to get it apart from Microsoft.

Reply Parent Score: 3

RE[9]: Unconvinced
by anda_skoa on Fri 7th Dec 2007 21:51 in reply to "RE[8]: Unconvinced"
anda_skoa Member since:
2005-07-07

Oh right. So I can open Netbeans or Eclipse or whatever, create a new project called 'Gnome System Tray Applet' and it will give me a Gnome System Tray Applet project with the UI designer and all the boiler plate code required?


Basically yes, because system tray does not have applets, but rather embeds windows created by another application using Xembed.

Thus a "system tray applet" is any application which has a system tray window component and Java can do those.

Reply Parent Score: 2

RE[10]: Unconvinced
by segedunum on Fri 7th Dec 2007 22:20 in reply to "RE[9]: Unconvinced"
segedunum Member since:
2005-07-06

Basically yes, because system tray does not have applets, but rather embeds windows created by another application using Xembed.....Thus a "system tray applet" is any application which has a system tray window component and Java can do those.

Sigh..... I'm on to a losing battle trying to explain this one.

Reply Parent Score: 2