[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
ActionListener for TabbedPane?  XML
Forum Index -> Development
Author Message
kessler

Power User

Joined: 22/01/2008 15:14:19
Messages: 47
Offline

Is there a possibility to react on a click on a tabPane? I tried to use an ActionListener, but it does not react.

I would like to have a combination of TabPane and SplitPane to show details inside the tabpane, but shrink it to the Tabs without the content with a buttonclick. I wanted to do that with a click on tab, but it doesn`t work, because the missing reaction in ActionListener. Maybe you know another way to combine tabs and foldables?

Tab are positioned on the side, not on top, so a new property "widthifunselected" would be fine.
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

Hi,
you need to set "flush" to "true"...
Reagrds, Björn

Björn Müller, CaptainCasa GmbH
kessler

Power User

Joined: 22/01/2008 15:14:19
Messages: 47
Offline

No, that doesn`t work...
I tried everything, actionlistener on tabeddpane, on tabbedpanetab, with flush, with flusharea... I get no reaction
kessler

Power User

Joined: 22/01/2008 15:14:19
Messages: 47
Offline

Ooops, I only had one tabpane, with two tabpanes there is a reaction
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team