Skip to content

Instantly share code, notes, and snippets.

package deltageek.test;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;
public class SwingTest {
public static void main(String[] args) {
SwingTest t = new SwingTest();
public class Day13 {
public static void main(String[] args) throws Exception {
// Iterable<String> input = Files.readAllLines(Paths.get("H:/Data/day13-test.txt"));
Iterable<String> input = Files.readAllLines(Paths.get("H:/Data/day13.txt"));
int max = 0;
Map<Integer, Integer> scanners = new HashMap<>();
for(String line : input){
String[] tokens = line.split(": ");
package sudoku.gui;
import sudoku.model.SudokuModel;
import static javax.swing.SwingUtilities.invokeLater;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;