<commit_before>package org.pentaho.ui.xul.swing.tags;

import javax.swing.JTabbedPane;

import org.pentaho.ui.xul.XulComponent;
import org.pentaho.ui.xul.XulDomContainer;
import org.pentaho.ui.xul.components.XulTabpanel;
import org.pentaho.ui.xul.containers.XulTabpanels;
import org.pentaho.ui.xul.swing.SwingElement;

public class SwingTabpanels extends SwingElement implements XulTabpanels{
	public SwingTabpanels(XulComponent parent, XulDomContainer domContainer, String tagName) {
		super("tabpanels");
		this.managedObject = "empty";
	}
	
	public XulTabpanel getTabpanelByIndex(int index) {
		return (XulTabpanel) this.children.get(index);
	}
	
	@Override
	public void layout() {
	}
	
}<commit_msg>Fixed a Cast to XulTabpanel be more specific<commit_after>package org.pentaho.ui.xul.swing.tags;

import javax.swing.JTabbedPane;

import org.pentaho.ui.xul.XulComponent;
import org.pentaho.ui.xul.XulDomContainer;
import org.pentaho.ui.xul.components.XulTabpanel;
import org.pentaho.ui.xul.containers.XulTabpanels;
import org.pentaho.ui.xul.swing.SwingElement;

public class SwingTabpanels extends SwingElement implements XulTabpanels{
	public SwingTabpanels(XulComponent parent, XulDomContainer domContainer, String tagName) {
		super("tabpanels");
		this.managedObject = "empty";
	}
	
	public XulTabpanel getTabpanelByIndex(int index) {
		return (SwingTabpanel) this.children.get(index);
	}
	
	@Override
	public void layout() {
	}
	
}
{'fraction_non_alphanumeric': 0.10284920083391244, 'fraction_numerical': 0.0, 'mean_word_length': 5.666666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3310280', 'n_tokens_mistral': 523, 'n_tokens_neox': 505, 'n_words': 91}