335336337338339340341342343344345
for ( int y=0;y<data.getHeight();y++ ) { for ( int x=0;x<data.getWidth();x++ ) { if ( downSampleQuadrant(x,y) ) data.enableBlock(x,y); else data.disableBlock(x,y); } } gridPanel.repaint(); repaint();