/** * Constructs a new {@code JHeatMap} taking {@code data} as input data * matrix and {@code rowNames}/{@code columNames} as names for rows and * columns. * * @param data the input data matrix * @param rowNames the names for the rows * @param columnNames the names for the columns */ public JHeatMap(double[][] data, String[] rowNames, String[] columnNames) { this.data = data; this.rowNames = rowNames; this.columnNames = columnNames; this.initComponent(); }