views:

64

answers:

2

I'm using a JToolBar to have a toolbar on my application, but I don't like the look of it. Actually, there's basically no look, no background and the buttons are flat when the mouse is not over them. This is on Windows.

How can I have a better look for this? Something that would fit better on Windows? Maybe something like the ToolStrip in Visual Studio? Or maybe something better that would look much better depending on the OS version (Windows, Mac, Linux)?

Suggestions?

+1  A: 

Leverage the concept of pluggable look and feels and select on each OS the look and feel considered native(or at least good looking) for it. The GTK+ look & feel look great in GNOME on Linux, Windows classic is for Windows pre Vista, etc.

Bozhidar Batsov
I do that already... But I can't find a way to have a toolbar look like the ones on Windows.
Nazgulled
Bozhidar Batsov
Like I said, there's no background and the buttons are flat when the mouse is not over them. It doesn't even feel like a real toolbar. It's more like a bunch of buttons in a row.
Nazgulled
+1  A: 

You can use existing libraries such as Ribbon component in Flamingo. If that is not what you want, the only choice you have is to create your own ToolbarUI implementation.

eugener