Skip to content

Commit

Permalink
Move ImgPanel into imglib2-tests project
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrueden committed Jun 26, 2012
1 parent ba930a8 commit 7338fa1
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* #L%
*/

package net.imglib2.ui;
package tests;

import java.awt.Adjustable;
import java.awt.Dimension;
Expand All @@ -55,11 +55,11 @@

import loci.common.StatusEvent;
import loci.common.StatusListener;

import net.imglib2.display.ARGBScreenImage;
import net.imglib2.display.RealARGBConverter;
import net.imglib2.display.XYProjector;
import net.imglib2.exception.IncompatibleTypeException;
import net.imglib2.img.Img;
import net.imglib2.img.ImgPlus;
import net.imglib2.io.ImgIOException;
import net.imglib2.io.ImgIOUtils;
Expand All @@ -69,8 +69,9 @@
import net.imglib2.type.numeric.RealType;

/**
* TODO
* A simple UI that demonstrates display of {@link Img}s.
*
* @author Curtis Rueden
*/
public class ImgPanel extends JPanel {

Expand Down Expand Up @@ -119,7 +120,6 @@ public void adjustmentValueChanged(final AdjustmentEvent e) {
final int value = bar.getValue();
imgData.projector.setPosition(value, dim);
imgData.projector.map();
System.out.println("dim #" + dim + ": value->" + value);// TEMP
imgData.owner.repaint();
}
});
Expand Down Expand Up @@ -164,7 +164,6 @@ public static final <T extends RealType<T> & NativeType<T>> void main(
final String[] args)
{
final String[] urls = {
"http://loci.wisc.edu/files/software/data/mitosis-test.zip",
"http://loci.wisc.edu/files/software/ome-tiff/z-series.zip"
};
final JFrame frame = new JFrame("ImgPanel Test Frame");
Expand Down

0 comments on commit 7338fa1

Please sign in to comment.