Skip to content

Commit

Permalink
Images are shown directly (no click needed anymore).
Browse files Browse the repository at this point in the history
  • Loading branch information
dietzc committed Jul 9, 2014
1 parent 9e85d6f commit d88dc12
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
import ij3d.Content;
import ij3d.ContentConstants;
import ij3d.Image3DUniverse;
import ij3d.ImageWindow3D;

import java.awt.BorderLayout;
import java.awt.Color;
Expand All @@ -66,6 +67,7 @@
import java.awt.Rectangle;
import java.awt.RenderingHints;

import javax.media.j3d.Canvas3D;
import javax.swing.JComponent;
import javax.swing.JLabel;
import javax.swing.JPanel;
Expand Down Expand Up @@ -122,7 +124,7 @@ public class ImageJ3DTableCellView<T extends RealType<T>> implements
// rendering Universe
private Image3DUniverse m_universe;

private Component m_universePanel;
private Canvas3D m_universePanel;

// Container for the converted picture,
private ImagePlus m_ijImagePlus;
Expand Down Expand Up @@ -343,6 +345,7 @@ protected void done() {
}

//

m_universe.init(new ImageWindow3D("abc", m_universe));
m_universePanel = m_universe.getCanvas(0);
try {
Expand All @@ -361,6 +364,7 @@ protected void done() {
}
}


WaitingIndicatorUtils.setWaiting(m_rootPanel, false);

// enables the timeline gui if picture has 4 or 5
Expand All @@ -376,6 +380,8 @@ protected void done() {
} else {
m_panel4D.setVisible(false);
}

m_rootPanel.updateUI();
}
};

Expand Down

0 comments on commit d88dc12

Please sign in to comment.