Class JMatrixPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class JMatrixPanel extends JPanel
a JPanel that can display a difference of distance matrix and paths that have been taken for the alignment

Note: This panel displays the transpose of its underlying matrix. Thus its width will be the same as Matrix.getRowDimension() and its height the same as Matrix.getColumnDimension(). This stems from the unfortunate ordering of Matrix.get(int, int) parameters as (row, col), which is opposite from the normal (x,y) order used when displaying graphics.

Author:
Andreas Prlic
See Also: