Panel creation without style

Good morning,

I’m developping an application with the runo style.
When I create a panel, it has a default decoration and I want to keep this default behavior.

In one case, I don’t want any decoration.
How can I create a panel without decoration.

Thanks in advance.

PS: I use Vaadin 6.

Hi,
please try yourPanelInstance.addStyleName(Runo.PANEL_LIGHT); - it will remove most of the decorations, only a small line under the caption should remain.

Thank you Teppo Kurki.

I want to define a complex component.
I can’t use this solution because there will be too many lines at the end.