Hi,

I have the following simple example taken from Chapter 3 of "SWT/JFace in Action":

package com.swtface.Ch3;

import org.eclipse.swt.*;
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.widgets.*;

public class Ch3_SashForm extends Composite
{
public Ch3_SashForm(Composite parent)
{
super(parent, SWT.NONE);

SashForm sf = new SashForm(this, SWT.HORIZONTAL);
sf.setSize(120,80);
Button button1 = new Button(sf, SWT.ARROW | SWT.UP);
button1.setSize(120,40);
Button button2 = new Button(sf, SWT.ARROW | SWT.DOWN);
button2.setBounds(0,40,120,40);
}
}

and

package com.swtface;

import org.eclipse.jface.window.*;
import org.eclipse.swt.widgets.*;

import com.swtface.Ch3.Ch3_SashForm;
public class CompViewer extends ApplicationWindow
{
public CompViewer()
{
super(null);
}
protected Control createContents(Composite parent)
{
Ch3_SashForm sf = new Ch3_SashForm(parent);
return sf;
}
public static void main(String[] args)
{
CompViewer cv = new CompViewer();
cv.setBlockOnOpen(true);
cv.open();
Display.getCurrent().dispose();
}
}

What I get (running on Mac OS X) is a window without the movable sash barrier. The books shows a figure that has the barrier.

Any idea of what might be wrong?

Thanks,

Rodrigo