Musings about Java and Swing

Monthly Archives: April 2013

Sudoku Solver Swing GUI

Introduction A few months ago, I posted an article showing how to create a Swing GUI. I used a traffic light as an example. Unfortunately, the traffic light GUI was too simple to be useful to most Swing beginners as an example. I created a Sudoku Solver to show a more complicated example of a […]

Permutations of a Set

I came across an interesting problem on Stack Overflow a few days ago. The homework assignment was: Given a set of integers, a count C and a sum S, generate all of the possible additions of C integers, giving S. You can use an integer from the set more than once.