Chessboards is a project mainly written in Java, it's free.
A toy chessboard-generation project
Generation of k-independent set chessboards where no pair of colored cells have an edge in common.
for more information see : http://gilleain.blogspot.com/2011/08/generating-chessboards-with-k.html