This program computes the powers of a transition matrix for a Markov Chain. You input the "Size of matrix" (number of states) and then after clicking on "Create" you input the transition matrix and the "Power" to which you want the matrix raised.

The source.

MatrixWindow.java