show stack name
orena1 opened this issue · 2 comments
orena1 commented
It would be great to see the name of the stack for which the volume is presented.
ctrueden commented
On the ImageJ mailing list, Hidenao Iwai wrote:
I can solve the issue#1 on GitHub (show stack name)
Add two lines as follows in Volume_Viewer.java,public void run(String args) { ... imp = WindowManager.getCurrentImage(); String stackName = imp.getTitle(); // <--- added if (imp == null || !(imp.getStackSize() > 1)) { ... else { frame = new JFrame("Volume Viewer " + version + " (" + stackName + ")"); // <--- modified frame.setLocation(control.xloc,control.yloc); ...
@orena1 If you would care to file a PR, I would merge and release a new Volume Viewer.