This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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(": "); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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; |