Skip to content

KDE Look and Feel for Java Preview

Thursday, 13 April 2006  |  Numanee

Sekou Diakite has released an alpha version of a KDE Look and Feel for Java. This is an interesting step forward in Linux/Unix desktop integration since Java applications can now use the KDE/Qt libraries for drawing Java widgets and even directly use existing KDE widgets such as the file or color choosers. See the webpage for further details of this accomplishment including future plans and, of course, screenshots.

Comments:

Dreams come true :) - fast_rizwaan - 2006-04-13

yes! java applications like limewire, azureus, Vocabulary Builder 1.33,(http://www.geocities.com/rorokimdim/) would blend into KDE. A real deserving thing for KDE. thanks Sekou Diakite! the screen shots look good.

Re: Dreams come true :) - Tim Middleton - 2006-04-13

It does look good, and seems a clever hack. Azureus uses the SWT GUI (which most commonly uses GTK on *nix for native widgets---yuck) rather than the native Java Swing GUI, so I don't think this project is going to help there. Maybe the other two apps though.

Re: Dreams come true :) - Ed - 2006-04-13

If the app is written in java-gtk2 then it will use the gtk2-qt plugin in kde 3.5. At least Sunrise Desktop[1] does. [1] http://www.sf.net/projects/sunrisexp

Re: Dreams come true :) - Felix - 2006-04-18

Is it really a hack or just the way it has to be done ?

Limewire system tray icon - Dima - 2006-04-13

Does anyone know if it's possible to make Limewire show a system tray icon in KDE? It definitely works in Windows, and Limewire claims to support it on Linux (GNOME maybe?) Has anyone had any success with it?

Re: Limewire system tray icon - AC - 2006-04-13

limewire runs nicely in my kde systray. I did not do anything to get it there, Limewire places an icon in kde's systemtray by default.

Re: Limewire system tray icon - Corbin - 2006-04-13

Limewire doesn't show a systemtray icon on my desktop (which was annoying because the default behavior when you try and close it was to go to the system tray, so I would have to kill the process then). Last tested on KDE 3.5.1 and Limewire 4.8.1.

Re: Limewire system tray icon - Joel - 2006-04-14

I installed limewire-pro 4.11 on my suse 10.0 system and noticed that there's a kde system tray icon for it when it's running. I assumed that's just how it works...

efficiency - Dima - 2006-04-13

> A KDE application is created offscreen and never showed. Isn't that kind of a waste of memory? Also, copying pixmaps from Qt to Java is probably slow, too...

Re: efficiency - Jakob Petsovits - 2006-04-13

Well, obviously the Gtk-Qt engine does it too, and that one's not performing too bad after all. Seems like it's actually manageable.

Classpath - Jaffa - 2006-04-13

gnu Classpath makes really good progress. Why not include KDE bindings?

Doesn't work? - anoninuss - 2006-04-13

Anyone else got this error? [franz@his2274 dl]$ java -jar KdeLAF.jar Invalid or corrupt jarfile KdeLAF.jar Obviously the jar file is'nt really a jar file... Let's see: [franz@his2274 dl]$ tar xzvf KdeLAF.jar kdelafworker [franz@his2274 dl]$ Ups ;-)

Still missing a RAD tool... - boemer - 2006-04-13

Okay looks nice, but I'm still missing a good Rapid Application Development Tool, like (Visual Studio .NET or Delphi). MonoDevelop looks okay, still a little too gnomisch, KDevelop3 looks okay, but still feels like Visual Studio 6.0 for C++.... Probably didn't try it enough. It is just the way someone used to programing under windows looks at the tools under Linux... You can say a lot about how bed windows is, I'll probably give you right in a lot of things, else I wouldn't be looking to linux. But I'm still having a little problems starting programming under Linux, or under KDE for that part. Installed Qt4 and doing some basic programming with KATE. But I'm still looking for something that invites me to programm..... (Under Linux ofcourse)....

Re: Still missing a RAD tool... - David - 2006-04-13

You mean you want to develop for KDE or in Java? For Java the tools are excellent, try NetBeans or Eclipse. KDE tools are also suberb, I liked KDevelop (though I never used it for GUI apps) and I believe it now has form designer integration. Admitedly it's not quite Visual Studio 2005 by it's good none the less.

Re: Still missing a RAD tool... - rjw - 2006-04-13

You probably hate java, but Eclipse and IntelliJ are the best IDEs out there. If you are addicted to IDEs, have a look at these.

Re: Still missing a RAD tool... - Cody Ray - 2006-09-02

I personally like jEdit too ...

Source code? - Alistair John Strachan - 2006-04-14

For a free and open source project, this doesn't seem very free or open source. I need to compile from scratch for the AMD64 architecture...

Re: Source code? - Sékou DIAKITÉ - 2006-04-14

Hello Alistair, I think that's this is a misunderstanding, I really don't understand why you think this is not a free software. From the begining, the licence is GPL, the subversion repository is open to anonymous access, and since yesterday, the source code .tgz is directly on the web site. By the way, I do not own an X86-64 System, if your willing to compile/test the native part of the project to X86-64 it would be great. Sékou.

Re: Source code? - Alistair John Strachan - 2006-04-14

It was because there is no mention of SVN, or source access on the linked webpage. I now see a 'contribute' link, which is OK of course. Many thanks! I will feed back to you if I have any problems.

Same app in SWT, Swing, and Qt - MamiyaOtaru - 2006-04-15

A while back I wrote a simple mp3/ogg/wav player in java. I wrote different frontends to it to get to know the various toolkits better. It has an SWT frontend for my native looking windows fun, a Swing frontend for cross platformness, and a Qt/KDE frontend for fitting in to my KDE desktop. Using the Qt frontend, the Gtk-Qt engine for GTK and the KdeLAF, I can make all three frontends use the same Qt style, with varying degrees of success. This pic is the results, with some commentary. KdeLAF has a little ways to go before I would replace the Qt frontend with it. http://img130.imageshack.us/my.php?image=toolkitthemecomparisons8tm.png ****************** edit: the Swing version looks just fine when using metal or ocean or some other more complete LAF, if metal can be called 'fine' ;) Icons work and all. (this was a repost of a comment I made on the matter on osnews.com)

Re: Same app in SWT, Swing, and Qt - ac - 2006-04-16

Very cool! Thanks for posting your comparison. Attaching your graphic without the ad. =)

Re: Same app in SWT, Swing, and Qt - MamiyaOtaru - 2006-04-20

Thanks for making it a link :) I totally missed the option to do that. From kdeLAF's homepage: 2006/04/17 : Adding slider widget. One of the issues taken care of then! I'll have to try out the new build. Still waiting on the splitter and frames afaict.

looks great - constantine - 2006-04-15

Hi, Its great, but a developer don't care what tool he is using, it is the convenience that matter. Lesser time to market the better, development of good looking screens Good, but what about Enterprise Apps Development, Already people have rejected the idea of using multiple IDE for same project. Just remember java is a chosen platform for EAD. Best Regards http://www.vivarem.com

L&F vs. functionality - Sean - 2006-04-17

I've always felt that some people don't understand (not the developers of KDELandF, in particular... just developers in general) that making a GUI *look* similar isn't what the goal should be. IMHO, the overlooked, and yet keystone, component is complex datatype support in the clipboard. No interface, in my opinion, has yet to match NeXTSTEP in terms of sophisticated clipboard support. You could drag any data, from any application, to any other. KDE is getting pretty close to NeXTSTEP's functionality, but I've never had any luck with non-trivial (plain text) copying of data dragging between KDE and Java apps -- say, Konqueror and GalleryRemote -- and this is why I almost never use Java GUI apps. Well, that and the VM being a memory hog. --- SER

KdeLaf and NetBeans - Jarolsav Tulach - 2006-04-21

The KdeLaf calls JToolbar.addImpl method sooner than other look and feels and as a result yesterday's build from http://www.netbeans.org used to fail with java.lang.NullPointerException at org.openide.awt.Toolbar.addImpl(Toolbar.java:616) at java.awt.Container.add(Container.java:390) at org.freeasinspeech.kdelaf.ui.QToolBarUI.installComponents() at javax.swing.plaf.basic.BasicToolBarUI.installUI(:128) at javax.swing.JComponent.setUI(JComponent.java:652) at javax.swing.JToolBar.setUI(JToolBar.java:159) at org.openide.awt.Toolbar.setUI(Toolbar.java:1178) at javax.swing.JToolBar.updateUI(JToolBar.java:170) at javax.swing.JToolBar.<init>(JToolBar.java:136) at javax.swing.JToolBar.<init>(JToolBar.java:97) at javax.swing.JToolBar.<init>(JToolBar.java:85) at org.openide.awt.Toolbar.<init>(Toolbar.java:157) I have fixed that http://openide.netbeans.org/source/browse/openide/loaders/src/org/openide/awt/Toolbar.java?r1=1.39&r2=1.40 So if you want to try the KdeLaf with NetBeans get the latest sources or download tomorrow's daily build.