Bug 81298 NPE changing style on SashForm in CustomControlExample
eclipse.buildId=I20041214-2000 java.version=1.4.2_06 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=motif, NL=en_US Framework arguments: -showlocation Command-line arguments: -os linux -ws motif -arch x86 -showlocation -clean java.lang.NullPointerException at org.eclipse.swt.examples.controlexample.Tab.log(Tab.java:785) at org.eclipse.swt.examples.controlexample.Tab.setExampleWidgetState(Tab.java:951) at org.eclipse.swt.examples.controlexample.SashFormTab.setExampleWidgetState(SashFormTab.java:136) at org.eclipse.swt.examples.controlexample.Tab.recreateExampleWidgets(Tab.java:805) at org.eclipse.swt.examples.controlexample.Tab$1.widgetSelected(Tab.java:138) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:736) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2948) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2648) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1569) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:285) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:710) at org.eclipse.core.launcher.Main.main(Main.java:694)
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/SashFormTab.java
Group sashFormGroup;
	SashForm form;
	List list1, list2;
	Text text;
	
	
	Button horizontalButton, verticalButton, smoothButton;
	static String [] ListData0 = {ControlExample.getResourceString("ListData0_0"), 
								  ControlExample.getResourceString("ListData0_1"), 
								  ControlExample.getResourceString("ListData0_2"), 
								  ControlExample.getResourceString("ListData0_3"), 
								  ControlExample.getResourceString("ListData0_4"), 
								  ControlExample.getResourceString("ListData0_5"), 
								  ControlExample.getResourceString("ListData0_6"), 
								  ControlExample.getResourceString("ListData0_7")}; 
								  
	static String [] ListData1 = {ControlExample.getResourceString("ListData1_0"), 
								  ControlExample.getResourceString("ListData1_1"), 
								  ControlExample.getResourceString("ListData1_2"), 
								  ControlExample.getResourceString("ListData1_3"), 
								  ControlExample.getResourceString("ListData1_4"), 
								  ControlExample.getResourceString("ListData1_5"), 
								  ControlExample.getResourceString("ListData1_6"), 
								  ControlExample.getResourceString("ListData1_7")}; 
	/**
	 * Creates the Tab within a given instance of ControlExample.
	 */
	SashFormTab(ControlExample instance) {