Hi,
I used the version 1.0.7 in my program and it worked fine.
With the version 1.0.8.p5g the stateListener does not work. Can you give me an example, how can I solve the problem.
My code looks like this:
CControl control = ...;
control.addStateListener(new CDockableStateListener(){ @Override
public void visibilityChanged(CDockable cd) {
System.out.println("visibilityChanged");
}
@Override
public void minimized(CDockable cd) {
System.out.println("minimized");
}
@Override
public void maximized(CDockable cd) {
System.out.println("maximized");
}
...
} );
Of course I added some DefaultSingleDockables to the control using a CGrid.
After launching the program, I get only the message “visibilityChanged” but never “normalized”, “minimized” etc.
Thx a lot.
EnBee