<commit_before>package pl.lodz.pl.ftims.supermarket.frontend.standalone.security.core;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JButton;
import javax.xml.ws.handler.HandlerResolver;

import backend.api.HumanResources;

import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;



public class HR_main extends HR_template{

	public JPanel templatePanel;
	
	HR_employee 		panEmployee;
	HR_employeesList	panEList;
	HR_group			panGroup;
	HR_groupList		panGList;
	
	public JPanel getMainPanel() {return templatePanel;}
	
	public HR_main() {
		//templatePanel = new JPanel();
		jpan = new JPanel();
		init();
		templatePanel = getPanel();
		//panEmployee = new HR_employee();
		//panEList	= new HR_employeesList();
		//panGroup	= new 
				
	}
	
	public int switchPanel(eComponent panel) {
		
		switch (panel) {
		case employee:
			panEmployee = new HR_employee();
			templatePanel = panEmployee.getPanel();
			break;
		case listEmployee :
			panEList = new HR_employeesList();
			templatePanel = panEList.getPanel();
			break;
		case group :<commit_msg>main window update<commit_after>package pl.lodz.pl.ftims.supermarket.frontend.standalone.security.core;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JButton;
import javax.xml.ws.handler.HandlerResolver;

import backend.api.HumanResources;

import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;



public class HR_main extends HR_template{

	public JPanel templatePanel;
	public JPanel mainPanel;
	
	HR_employee 		panEmployee;
	HR_employeesList	panEList;
	HR_group			panGroup;
	HR_groupList		panGList;
	
	public JPanel getMainPanel() {return mainPanel;}
	
	public HR_main() {
		//templatePanel = new JPanel();
		jpan = new JPanel();
		mainPanel = new JPanel();
		
		init();
		templatePanel = getPanel();
		mainPanel.setLayout(null);
		mainPanel.add(templatePanel);
		mainPanel.revalidate();
		mainPanel.repaint();
		
		//panEmployee = new HR_employee();
		//panEList	= new HR_employeesList();
		//panGroup	= new 
				
	}
	
	public int switchPanel(eComponent panel) {
		
		switch (panel) {
		case employee:
			panEmployee = new HR_employee();
			templatePanel = panEmployee.getPanel();
			break;
		case listEmployee :
			panEList = new HR_employeesList();
			templatePanel = panEList.getPanel();
			break;
		case group :
{'fraction_non_alphanumeric': 0.10503709488481063, 'fraction_numerical': 0.0, 'mean_word_length': 4.326403326403327, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6083684', 'n_tokens_mistral': 943, 'n_tokens_neox': 819, 'n_words': 184}