1 /***
2 * Contributors
3 *
4 * This displays the Contributors file
5 * in a Swing Panel.
6 */
7
8 package junit.quilt.util;
9
10 import javax.swing.JEditorPane;
11 import java.io.IOException;
12
13 public class DisplayPanel
14 extends JEditorPane
15 {
16 public DisplayPanel( String resource )
17 throws IOException
18 {
19 setEditable(false);
20 read( getClass().getClassLoader().getResourceAsStream( resource ),
21 resource );
22 }
23
24 }
This page was automatically generated by Maven