<commit_before>/*******************************************************************************
 * This file is part of TERMINAL RECALL
 * Copyright (c) 2012-2014 <NAME>
 * Part of the jTRFP.org project
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v3.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/gpl.html
 * 
 * Contributors:
 *     chuck - initial API and implementation
 ******************************************************************************/

package org.jtrfp.trcl.gui;

import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.concurrent.Callable;

import javax.swing.DefaultListModel;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.ListSelectionModel;

import org.jtrfp.trcl.core.TR;
import org.jtrfp.trcl.file.VOXFile;
import org.jtrfp.trcl.file.VOXFile.MissionLevel;
import org.jtrfp.trcl.flow.Game;
import org.jtrfp.trcl.flow.IndirectProperty;
import java.awt.Dialog.ModalExclusionType;
import java.awt.Window.Type;

public class LevelSkipWindow extends JFrame {
    /**
     * 
     */
    private static final long serialVersionUID = -7174180501601275652L;
    private final TR tr;
    private final JButton btnGo;
    private final JButton btnCancel;
    private final JList<String> levelList;
    private final DefaultListModel<String> levelLM = new DefaultListModel<String>();
    	
    	public LevelSkipWindow(){
    	    this(null);
    	}//end constructor
    
	public LevelSkipWindow(TR tr) {
	    	setType(Type.UTILITY);
	    	//setModalExclusionType(ModalExclusionType.APPLICATION_EXCLUDE);
	    	this.tr=tr;
		setTitle("Skip To Level");
		setSize(180,300);
		getContentPane().setLayout(new BorderLayout(0, 0));
		
		JPanel goCancelPanel = new JPanel();
		getContentPane().add(goCancelPanel, BorderLayout.SOUTH);
		goCancelPanel.setLayout(new BorderLayout(0, 0));<commit_msg>Remove unneeded window types from LevelSkipWindow.<commit_after>/*******************************************************************************
 * This file is part of TERMINAL RECALL
 * Copyright (c) 2012-2014 <NAME>
 * Part of the jTRFP.org project
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v3.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/gpl.html
 * 
 * Contributors:
 *     chuck - initial API and implementation
 ******************************************************************************/

package org.jtrfp.trcl.gui;

import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.concurrent.Callable;

import javax.swing.DefaultListModel;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.ListSelectionModel;

import org.jtrfp.trcl.core.TR;
import org.jtrfp.trcl.file.VOXFile;
import org.jtrfp.trcl.file.VOXFile.MissionLevel;
import org.jtrfp.trcl.flow.Game;
import org.jtrfp.trcl.flow.IndirectProperty;
import java.awt.Dialog.ModalExclusionType;
import java.awt.Window.Type;

public class LevelSkipWindow extends JFrame {
    /**
     * 
     */
    private static final long serialVersionUID = -7174180501601275652L;
    private final TR tr;
    private final JButton btnGo;
    private final JButton btnCancel;
    private final JList<String> levelList;
    private final DefaultListModel<String> levelLM = new DefaultListModel<String>();
    	
    	public LevelSkipWindow(){
    	    this(null);
    	}//end constructor
    
	public LevelSkipWindow(TR tr) {
	    	this.tr=tr;
		setTitle("Skip To Level");
		setSize(180,300);
		getContentPane().setLayout(new BorderLayout(0, 0));
		
		JPanel goCancelPanel = new JPanel();
		getContentPane().add(goCancelPanel, BorderLayout.SOUTH);
		goCancelPanel.setLayout(new BorderLayout(0, 0));
{'fraction_non_alphanumeric': 0.1630057803468208, 'fraction_numerical': 0.018034682080924857, 'mean_word_length': 4.699604743083004, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1688013', 'n_tokens_mistral': 1350, 'n_tokens_neox': 1250, 'n_words': 312}