-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAbout_Distance_Measure.java
More file actions
59 lines (49 loc) · 1.63 KB
/
About_Distance_Measure.java
File metadata and controls
59 lines (49 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import ij.plugin.frame.PlugInFrame;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JScrollPane;
import javax.swing.JTextPane;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Juanjo Vega
*/
public class About_Distance_Measure extends PlugInFrame {
/**
*
*/
private static final long serialVersionUID = -1563781228522186516L;
public About_Distance_Measure() {
super("About Distance Measure...");
JLabel jlIcon = null;
try{
jlIcon = new JLabel(new ImageIcon(getClass().getResource("/resources/I2PC.png")));
}catch (Exception ex){
}
JScrollPane jspText = new JScrollPane();
JTextPane jtpAbout = new JTextPane();
jtpAbout.setContentType("text/html");
jtpAbout.setEditable(false);
jtpAbout.setText("<html>"
+ "Jesus Cuenca (<b>jcuenca@cnb.csic.es</b>), CO Sanchez Sorzano (<b>coss@cnb.csic.es</b>), Juanjo Vega (<b>juanjo.vega@gmail.com</b>)<br>"
+ "<hr>"
+ "Instruct Image Processing Center.<br>"
+ "Biocomputing Unit.<br>"
+ "National Center for Biotechnology (CNB/CSIC).<br>"
+ "Madrid. Version 1.0.</html>");
jspText.setViewportView(jtpAbout);
if(jlIcon != null)
add(jlIcon, java.awt.BorderLayout.WEST);
add(jspText, java.awt.BorderLayout.CENTER);
pack();
setLocationRelativeTo(null);
setResizable(false);
}
@Override
public void run(String arg) {
setVisible(true);
}
}