Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Continuing my question in Install Ubuntu or Kubuntu?

I have tried Kubuntu (KDE), and it was very cool as cool as Ubuntu (GNOME). but there is little problem with its user interface when we start Java application (LimeWire, Netbeans, Eclipse). User interface changed to Metal, (which I think is a bit old school).

Can we run it with Qt like UI?, such as when we start Java application in Gnome (run with GTK like UI/emulation GTK like UI)?

I hear there is a class for Java in order to make Java application UI like Qt, called the Qt/Jambi bindings for Java. How can we integrate it in KDE when we start Java application?

My other question is if not wrong, OpenOffice was built in Java,so why OpenOffice can run with Qt like UI in KDE?

share|improve this question
OpenOffice is not built in java, some underlying functionality uses java. – txwikinger Oct 13 '10 at 20:41
What have you configured in system-settings-> application appearance under GTK appearance? – txwikinger Oct 13 '10 at 20:42
hmm, I already did it, but the java application is still using GTK like UI instead of QT like UI. – squallbayu Oct 13 '10 at 20:49
Similar question for GTK:… – Mechanical snail Nov 5 '12 at 5:02
Related:… – Mechanical snail Nov 5 '12 at 5:30
up vote 3 down vote accepted

Using those Qt bindings is no solution (it requires that the whole application's GUI has to be rewritten).

And is written in C++ mostly, with some parts written in other languages like Java. It also has its own GUI toolkit that can mimic Gtk or Qt (partially) using themes.

And if there is no Qt or KDE-like theming included, I have no idea how to make one. (I just saw that there are a couple of additional Swing themes in the repository, that might be a thing to try out for those applications that use Swing.)

share|improve this answer

One solution is to use some sort of aesthetically Qt-compatible GTK theme, through the java GTK Style look and feel.

In Kubuntu, for GTK applications you can install the Qt Curve theme (qtcurve package), you should then be able to configure the default GTK style in KDE System Settings (you will need the kde-config-gtk package).

You should then be able to set the GTK look and feel in java applications. You can easily test it with this Java Web Start application.

share|improve this answer
The link is broken as of the time this comment is posted. – Ernir Dec 5 '13 at 13:47

Install gtk3-engines-oxygen for Gtk3 and gtk2-engines-qtcurve for Gtk2, and switch to theme in System Settings > Application Appearance > Gtk Configuration.

If you don't have a Gtk Configuration, install kde-config-gtk. It's also recommended to install whole qtcurve packages and use it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.