code
stringlengths
3
1.18M
language
stringclasses
1 value
package com.ct.dao.utils; import com.ct.dao.common.ObjectProvider; /** * Created by IntelliJ IDEA. * User: nmkravchenko * Date: 22.10.2009 * Time: 18:10:27 * To change this template use File | Settings | File Templates. */ public class HolderUtil { public static <E> E getRequired(ObjectProvider<...
Java
package com.ct.dao.searching; import java.io.Serializable; import java.io.ObjectStreamException; /** * Created by IntelliJ IDEA. * User: nmkravchenko * Date: 22.10.2009 * Time: 17:50:27 * To change this template use File | Settings | File Templates. */ public interface Query<E> extends Serializable ...
Java
package com.ct.dao.searching.hibernate; import com.ct.model.common.Entity; import com.ct.dao.searching.Query; import java.util.regex.Pattern; import java.util.regex.Matcher; import java.util.Map; import java.util.HashMap; import org.apache.commons.lang.StringUtils; /** * Created by IntelliJ IDEA. * Us...
Java
package com.ct.dao.searching.hibernate; import java.util.List; import java.util.Collection; import java.util.Iterator; import java.util.ListIterator; import java.io.Serializable; /** * Created by IntelliJ IDEA. * User: nmkravchenko * Date: 22.10.2009 * Time: 18:17:00 * To change this template use Fi...
Java
package com.ct.dao.searching.hibernate; import org.hibernate.transform.ResultTransformer; import java.util.List; import java.util.ArrayList; /** * Created by IntelliJ IDEA. * User: nmkravchenko * Date: 22.10.2009 * Time: 18:13:41 * To change this template use File | Settings | File Templates. */ ...
Java
package com.ct.dao.searching.hibernate; import com.ct.dao.common.SearchDao; import com.ct.dao.common.ObjectProvider; import com.ct.dao.searching.Query; import com.ct.dao.utils.HolderUtil; import com.ct.model.common.Entity; import java.util.Collection; import java.util.List; import java.util.Map; import jav...
Java
package com.ct.dao.common; /** * Created by IntelliJ IDEA. * User: nmkravchenko * Date: 22.10.2009 * Time: 17:30:59 * To change this template use File | Settings | File Templates. */ public interface ObjectProvider<E> { E get(); }
Java
package com.ct.dao.common.hibernate; import org.hibernate.Session; import org.hibernate.Query; import java.io.Serializable; import java.util.Collection; import com.ct.dao.common.Dao; import com.ct.dao.common.ObjectProvider; import com.ct.dao.utils.HolderUtil; import com.ct.model.common.Entity; /** * ...
Java
package com.ct.dao.common.hibernate; import org.hibernate.classic.Session; import org.hibernate.SessionFactory; import com.ct.dao.common.ObjectProvider; /** * Created by IntelliJ IDEA. * User: nmkravchenko * Date: 22.10.2009 * Time: 17:27:24 * To change this template use File | Settings | File Templat...
Java
package com.ct.dao.common; import org.springframework.transaction.annotation.Transactional; import org.hibernate.Query; import java.io.Serializable; import java.util.Collection; import com.ct.model.common.Entity; /** * Created by IntelliJ IDEA. * User: nmkravchenko * Date: 22.10.2009 * Time: 17:23...
Java
package com.ct.dao.common; import com.ct.model.common.Entity; import com.ct.dao.searching.Query; import java.util.Collection; /** * Created by IntelliJ IDEA. * User: nmkravchenko * Date: 22.10.2009 * Time: 17:43:25 * To change this template use File | Settings | File Templates. */ public interf...
Java
package com.ct.businesslogic.map; import java.util.List; import java.io.IOException; /** * Created by IntelliJ IDEA. * User: Admin * Date: 23.08.2009 * Time: 14:17:26 * To change this template use File | Settings | File Templates. */ public interface MapCarTrackerLogic { List<Long> getCarsIds()...
Java
package com.ct.businesslogic.map.impl; import com.ct.businesslogic.map.MapCarTrackerLogic; import java.util.List; import java.util.LinkedList; import java.io.BufferedInputStream; import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; import org.springframework.core.io.R...
Java
package com.ct.model.map; import com.ct.model.common.longpk.BaseEntity; import javax.persistence.*; import java.util.Date; /** * Created by IntelliJ IDEA. * User: Admin * Date: 26.10.2009 * Time: 22:47:10 * To change this template use File | Settings | File Templates. */ @Entity @Table(name = "g...
Java
package com.ct.model.map; import com.ct.model.common.longpk.BaseEntity; import javax.persistence.*; import java.util.Date; import org.hibernate.annotations.Type; /** * Created by IntelliJ IDEA. * User: Admin * Date: 22.11.2009 * Time: 15:28:39 * To change this template use File | Settings | File ...
Java
package com.ct.model.map; import com.ct.model.common.longpk.BaseEntity; /** * Created by IntelliJ IDEA. * User: nmkravchenko * Date: 27.10.2009 * Time: 13:52:28 * To change this template use File | Settings | File Templates. */ public class CarIdentifier extends BaseEntity{ private Long carId; ...
Java
package com.ct.model.common; import java.io.Serializable; /** * Created by IntelliJ IDEA. * User: nmkravchenko * Date: 22.10.2009 * Time: 18:48:20 * To change this template use File | Settings | File Templates. */ public abstract class BaseEntity<PKType extends Serializable> implements Entity<PKType>...
Java
package com.ct.model.common; import java.io.Serializable; /** * Created by IntelliJ IDEA. * User: nmkravchenko * Date: 22.10.2009 * Time: 17:21:45 * To change this template use File | Settings | File Templates. */ public interface Entity<PKType extends Serializable> extends Serializable { PKType...
Java
package org.apache.jsp.WEB_002dINF.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; public final class hello_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static final JspFactory _jspxFactory = J...
Java
package org.apache.jsp.WEB_002dINF.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; public final class hello_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static final JspFactory _jspxFactory = J...
Java
package org.apache.jsp.WEB_002dINF.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; public final class hello_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static final JspFactory _jspxFactory = J...
Java
package org.apache.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; public final class _401_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static final JspFactory _jspxFactory = JspFactory.getDefa...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Java
package craftforfood.myessentials.commands; import org.bukkit.entity.Player; import craftforfood.myessentials.MyEssentials; public abstract class MyECommand { private String node; protected MyEssentials mye; protected Player player; public MyECommand(String node) { this.node = node; } ...
Java
package spellpad.dictionary; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Scanner; import java.util.logging.Level; import java.util.logging.Logger; import org.apache.commons.cod...
Java
package spellpad.swing; import javax.swing.JTextPane; /** * * @author Jesse Allen */ public class SpellPadEditorPane extends JTextPane { }
Java
package spellpad.swing; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.HeadlessException; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.image.BufferedImage; import java.io.IOException; import java.util.loggin...
Java
package spellpad.swing.autocomplete; import java.util.Objects; /** * * @author Jesse Allen */ public class TernarySearchTree implements Resetable { private Node root = null; private Node navigateToAdd(Node n, String s, int position, int direction, Node old) { //make new variable inst...
Java
package spellpad.swing.autocomplete; import java.util.TimerTask; /** * * @author Jesse Allen */ public class RecountMethod extends TimerTask implements Runnable { WordCountCache cache; public RecountMethod(WordCountCache cache) { this.cache = cache; } @Override publi...
Java
package spellpad.swing.autocomplete; import java.util.Comparator; import java.util.Objects; /** * * @author Jesse Allen */ public class Entry implements Comparable<Entry> { String word; int count; public Entry(int count, String value) { this.count = count; word = value...
Java
package spellpad.swing.autocomplete; /** * * @author Jesse Allen */ public interface Resetable { public void reset(); }
Java
package spellpad.swing.autocomplete; import java.awt.event.ActionEvent; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.AbstractAction; import javax.swing.JTextPane; import javax.swing.KeyStroke; import javax.swing.event.DocumentEvent; import javax.swing.text.BadLocationExc...
Java
package spellpad.swing.autocomplete; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Scanner; import java.util.logging.Level; import java.util.logging.Logger; import java.util.regex.Pattern; import javax.swing.JTextPane; import javax.swing.text.BadLocationExcept...
Java
package spellpad.swing; import java.util.List; import javax.swing.DefaultListModel; import spellpad.eventhandlers.textmodifying.dictionary.DictionaryController; import spellpad.eventhandlers.textmodifying.dictionary.MisspellingEntry; /** * * @author Jesse Allen */ public class SpellCheckWindow extends javax.swing....
Java
package spellpad.eventhandlers; /** * * @author Jesse */ public enum FileAction { SAVE, OPEN, NUMITEMS }
Java
package spellpad.eventhandlers; import java.io.File; import javax.swing.JFileChooser; import javax.swing.filechooser.FileFilter; import javax.swing.filechooser.FileNameExtensionFilter; /** * * @author Jesse */ final class FileFilterFactory { static FileFilter getSpellpadFileFilter() { Fi...
Java
package spellpad.eventhandlers.mouse; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.JEditorPane; /** * * @author Jesse Allen */ public class MouseListener extends MouseAdapter { JEditorPane textArea; public MouseListener(JEditorPane editor) { ...
Java
package spellpad.eventhandlers.mouse; import javax.swing.JEditorPane; import javax.swing.JMenuItem; import javax.swing.JPopupMenu; import spellpad.eventhandlers.ClipboardHandler; import spellpad.eventhandlers.textmodifying.CopyActionListener; import spellpad.eventhandlers.textmodifying.PasteActionListener; /...
Java
package spellpad.eventhandlers.textmodifying; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.text.BadLocationException; import javax.swing.text.Caret; import javax.swing.text.SimpleAttributeSet; impor...
Java
package spellpad.eventhandlers.textmodifying; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JEditorPane; import javax.swing.text.BadLocationException; import javax.swing.text.Caret; import spellpad.e...
Java
package spellpad.eventhandlers.textmodifying; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JEditorPane; import spellpad.eventhandlers.ClipboardHandler; /** * * @author Jesse Allen */ public class CopyActionListener implements ActionListener { Clipboa...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package spellpad.eventhandlers.textmodifying; import javax.swing.text.SimpleAttributeSet; import javax.swing.text.StyleConstants; import spellpad.swing.SpellPadEditorPane; /** * * @author Jesse Allen */...
Java
package spellpad.eventhandlers.textmodifying; import javax.swing.text.SimpleAttributeSet; import javax.swing.text.StyleConstants; import spellpad.swing.SpellPadEditorPane; /** * * @author Jesse Allen */ public class UnderlineActionListener extends BasicModificationActionListener { public Underline...
Java
package spellpad.eventhandlers.textmodifying.dictionary; /** * * @author Jesse Allen */ public class MisspellingEntry { int begins; String text; public MisspellingEntry(int position, String word) { begins = position; text = word; } public String getText() { ...
Java
package spellpad.eventhandlers.textmodifying.dictionary; import java.util.HashMap; /** * * @author Jesse Allen */ public class ProximateKeys { private HashMap<Character, char[]> charMap; private ProximateKeys() { charMap = new HashMap<>(); } public static ProximateKeys ge...
Java
package spellpad.eventhandlers.textmodifying.dictionary; import java.awt.Color; import java.io.*; import java.util.*; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.JTextPane; import javax.swing.text.BadLocationEx...
Java
package spellpad.eventhandlers.textmodifying; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.undo.UndoManager; /** * * @author Jesse Allen */ public class RedoActionListener implements ActionListener { UndoManager manager; public RedoActionListen...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package spellpad.eventhandlers.textmodifying; import javax.swing.text.SimpleAttributeSet; import javax.swing.text.StyleConstants; import spellpad.swing.SpellPadEditorPane; /** * * @author Jesse Allen */...
Java
package spellpad.eventhandlers.textmodifying; import java.util.Timer; import javax.swing.JTextPane; import javax.swing.event.DocumentEvent; import javax.swing.event.DocumentListener; import spellpad.swing.autocomplete.AutocompleteSuggestor; import spellpad.swing.autocomplete.RecountMethod; import spellpad.swin...
Java
package spellpad.eventhandlers.textmodifying; import javax.swing.text.SimpleAttributeSet; import javax.swing.text.StyleConstants; import spellpad.swing.SpellPadEditorPane; /** * * @author Jesse Allen */ public class ItalicsActionListener extends BasicModificationActionListener { public ItalicsActi...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package spellpad.eventhandlers.textmodifying; import javax.swing.text.SimpleAttributeSet; import javax.swing.text.StyleConstants; import spellpad.swing.SpellPadEditorPane; /** * * @author Jesse Allen */...
Java
package spellpad.eventhandlers.textmodifying; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.undo.UndoManager; /** * * @author Jesse Allen */ public class UndoActionListener implements ActionListener { UndoManager manager; public UndoActionListen...
Java
package spellpad.eventhandlers.textmodifying; import javax.swing.text.SimpleAttributeSet; import javax.swing.text.StyleConstants; import spellpad.swing.SpellPadEditorPane; /** * * @author Jesse Allen */ public class BoldActionListener extends BasicModificationActionListener { public BoldActionList...
Java
package spellpad.eventhandlers; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import java...
Java
package spellpad.eventhandlers; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JEditorPane; im...
Java