source: other-projects/trunk/greenstone3-extension/mat/DLMetadataQuality/src/org/greenstone3/ms/Frame1.java@ 17184

Last change on this file since 17184 was 17184, checked in by cc108, 16 years ago

Metadata Quality For Digital Libraries

File size: 1.2 KB
Line 
1package org.greenstone3.ms;
2
3import java.awt.BorderLayout;
4import java.awt.Dimension;
5import java.util.ArrayList;
6
7
8import javax.swing.JFrame;
9import javax.swing.JPanel;
10
11/**
12 * <p>Title: </p>
13 *
14 * <p>Description: </p>
15 *
16 * <p>Copyright: Copyright (c) 2007</p>
17 *
18 * <p>Company: </p>
19 *
20 * @author not attributable
21 * @version 1.0
22 */
23
24public class Frame1 extends JFrame {
25 JPanel contentPane;
26 BorderLayout borderLayout1 = new BorderLayout();
27 ArrayList metaList;
28 MetadataStats mdst;
29 //JPanel jPanel1 = new JPanel();
30
31 public Frame1(MetadataStats ms) {
32 mdst = ms;
33 metaList = ms.metadataNameList;
34 try {
35 setDefaultCloseOperation(EXIT_ON_CLOSE);
36 jbInit();
37 } catch (Exception exception) {
38 exception.printStackTrace();
39 }
40 }
41
42 /**
43 * Component initialization.
44 *
45 * @throws java.lang.Exception
46 */
47 private void jbInit() throws Exception {
48 contentPane = (JPanel) getContentPane();
49 contentPane.setLayout(borderLayout1);
50 setSize(new Dimension(570, 800));
51
52 setTitle("Metadata Statistics");
53 contentPane.add(BorderLayout.CENTER, new SummaryPanel(mdst));
54 }
55}
56
Note: See TracBrowser for help on using the repository browser.