package org.pentaho.ui.xul.swing.tags;

import java.awt.GridBagLayout;

import javax.swing.JPanel;

import org.pentaho.ui.xul.XulComponent;
import org.pentaho.ui.xul.XulDomContainer;
import org.pentaho.ui.xul.components.XulTab;
import org.pentaho.ui.xul.swing.SwingElement;
import org.pentaho.ui.xul.util.Orient;

public class SwingTab extends SwingElement implements XulTab{
	
	private String label;
	private boolean disabled = false;
	private String onclick;
	
	public SwingTab(XulComponent parent, XulDomContainer domContainer, String tagName) {
		super("tab");
	}

	public boolean isDisabled() {
		return disabled;
	}

	public String getLabel() {
		return label;
	}

	public String getOnclick() {
		return onclick;
	}

	public void setDisabled(boolean disabled) {
		this.disabled = disabled;
		
	}

	public void setLabel(String label) {
		this.label = label;
		
	}

	public void setOnclick(String onClick) {
		this.onclick = onClick;
		
	}
	@Override
	public void layout() {
	}
}

package org.pentaho.ui.xul.swing.tags;

import java.awt.GridBagLayout;

import javax.swing.JPanel;

import org.pentaho.ui.xul.XulComponent;
import org.pentaho.ui.xul.XulDomContainer;
import org.pentaho.ui.xul.components.XulTab;
import org.pentaho.ui.xul.swing.SwingElement;
import org.pentaho.ui.xul.util.Orient;

public class SwingTab extends SwingElement implements XulTab{
	
	private String label;
	private boolean disabled = false;
	private String onclick;
	
	public SwingTab(XulComponent parent, XulDomContainer domContainer, String tagName) {
		super("tab");
		managedObject = "empty";
	}

	public boolean isDisabled() {
		return disabled;
	}

	public String getLabel() {
		return label;
	}

	public String getOnclick() {
		return onclick;
	}

	public void setDisabled(boolean disabled) {
		this.disabled = disabled;
		
	}

	public void setLabel(String label) {
		this.label = label;
		
	}

	public void setOnclick(String onClick) {
		this.onclick = onClick;
		
	}
	@Override
	public void layout() {
	}
}

Set the ManagedObject to empty