<commit_before>package ucesoft.cbm.trace

import javax.swing._
import java.awt.event._
import ucesoft.cbm.cpu.Memory
import java.awt.BorderLayout
import ucesoft.cbm.Log
import ucesoft.cbm.cpu.Assembler
import ucesoft.cbm.cpu.CPU6510
import java.io.FileOutputStream
import java.io.FileInputStream
import java.awt.GridLayout
import javax.swing.event.ChangeListener
import javax.swing.event.ChangeEvent
import ucesoft.cbm.peripheral.vic.Display
import ucesoft.cbm.peripheral.vic.VIC
import ucesoft.cbm.cpu.CPU6510Mems
import java.io._

object TraceDialog {
  def getTraceDialog(displayFrame: JFrame, mem: Memory, traceListener: TraceListener, display: Display, vic: VIC): TraceDialog = {
    val dialog = new TraceDialog(displayFrame, mem, traceListener,Some(display),Some(vic))
    dialog.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE)
    dialog.pack
    dialog
  }
  def getTraceDialog(displayFrame: JFrame, mem: Memory, traceListener: TraceListener): TraceDialog = {
    val dialog = new TraceDialog(displayFrame, mem, traceListener,None,None)<commit_msg>Deleted unused import<commit_after>package ucesoft.cbm.trace

import javax.swing._
import java.awt.event._
import ucesoft.cbm.cpu.Memory
import java.awt.BorderLayout
import ucesoft.cbm.Log
import ucesoft.cbm.cpu.Assembler
import ucesoft.cbm.cpu.CPU6510
import java.io.FileOutputStream
import java.io.FileInputStream
import java.awt.GridLayout
import javax.swing.event.ChangeListener
import javax.swing.event.ChangeEvent
import ucesoft.cbm.peripheral.vic.Display
import ucesoft.cbm.peripheral.vic.VIC
import java.io._

object TraceDialog {
  def getTraceDialog(displayFrame: JFrame, mem: Memory, traceListener: TraceListener, display: Display, vic: VIC): TraceDialog = {
    val dialog = new TraceDialog(displayFrame, mem, traceListener,Some(display),Some(vic))
    dialog.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE)
    dialog.pack
    dialog
  }
  def getTraceDialog(displayFrame: JFrame, mem: Memory, traceListener: TraceListener): TraceDialog = {
    val dialog = new TraceDialog(displayFrame, mem, traceListener,None,None)
{'fraction_non_alphanumeric': 0.09030732860520095, 'fraction_numerical': 0.005673758865248227, 'mean_word_length': 5.915032679738562, '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': '7384043', 'n_tokens_mistral': 675, 'n_tokens_neox': 658, 'n_words': 141}