Skip to content

Commit fcdc4a4

Browse files
ecmagnusonhinerm
authored andcommitted
Add missing images and move to howtos
1 parent 4ab5f3e commit fcdc4a4

14 files changed

+25
-91
lines changed

java/howtos/images/about/about1.tif

2.67 MB
Binary file not shown.
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
attribution This image courtesy of Tom Deerinck
2+
attribution via a Creative Commons license
3+
fontsize 45
4+
color 255 255 0

java/howtos/images/about/about2.tif

1.28 MB
Binary file not shown.
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
attribution This image courtesy of Spike Walker
2+
attribution via a Creative Commons license
3+
fontsize 50
4+
color 255 140 0

java/howtos/images/about/about3.tif

2.25 MB
Binary file not shown.
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
attribution This image from ESO/J. Emerson/VISTA
2+
attribution Cambridge Astronomical Survey Unit
3+
fontsize 40
4+
color 255 255 0

java/howtos/images/about/about4.tif

1.22 MB
Binary file not shown.
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
attribution This image courtesy of Hank L. Oppenheimer
2+
attribution via a Creative Commons license
3+
color 255 255 0

java/howtos/images/about/about5.tif

1.22 MB
Binary file not shown.
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
attribution This image courtesy of Annie Cavanagh
2+
attribution via a Creative Commons license
3+
fonstsize 30
4+
color 0 255 0

java/howtos/migration-notes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ ImageJ maven-projects > howto migration notes
4848
| `UsingOpsLabeling.java` | using-ops | ops | **Y** | Input image drawn incorrectly (legacy bug). | --- | **Y** | Calls AWT UI. |
4949
| `UsingSpecialOps.java` | using-ops |ops | **Y** | --- | --- | **Y** | Has commented out code block. Remove? |
5050
| `WidgetDemo.java` | widget-demo | ui | **Y** | --- | --- | **Y** | Calls AWT UI. |
51-
| `WorkingWithModules.java` | working-with-modules | --- | **N** | Missing `images/about` path and throws exception | --- | **N** | --- |
51+
| `WorkingWithModules.java` | working-with-modules | modules | **Y** | --- | Added images/about/ directory | **Y** | AboutImageJ in imagej-common does not work well outside of FIJI |
5252

5353

5454
### **Testing howto java files:**

java/working-with-modules/src/main/java/WorkingWithModules.java java/howtos/src/main/java/howto/modules/WorkingWithModules.java

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* https://unlicense.org/
77
*/
88

9+
package howto.modules;
10+
911
import java.util.ArrayList;
1012
import java.util.HashMap;
1113
import java.util.List;
@@ -133,6 +135,9 @@ public static void main(final String... args) {
133135

134136
// Finally, we invoke the module service with our preprocessors:
135137
ij.module().run(myInfo, pre, null, myInputs);
138+
139+
// Launch ImageJ as usual with AboutImageJ images.
140+
ij.launch(args);
136141
}
137142

138143
}

java/working-with-modules/pom.xml

-89
This file was deleted.

pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@
101101
<module>java/ij2-image-plus</module>
102102
<module>java/listen-to-events</module>
103103
<module>java/swing-example</module>
104-
<module>java/working-with-modules</module>
105104
</modules>
106105

107106
<scm>

0 commit comments

Comments
 (0)