Debian Codegraph @

uk/ac/babraham/FastQC/Dialogs/WelcomePanel.java

raw symbols SCIP
1 /**
2 * Copyright Copyright 2010-17 Simon Andrews
3 *
4 * This file is part of FastQC.
5 *
6 * FastQC is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * FastQC is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with FastQC; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20 package uk.ac.babraham.FastQC.Dialogs;
21
22 import java.awt.GridBagConstraints;
23 import java.awt.GridBagLayout;
24 import java.awt.Insets;
25
26 import javax.swing.JLabel;
27 import javax.swing.JPanel;
28
29 @SuppressWarnings("serial")
30 public class WelcomePanel extends JPanel {
31 private static final long serialVersionUID = 1L;
32
33 public WelcomePanel () {
34 setLayout(new GridBagLayout());
35 GridBagConstraints gbc = new GridBagConstraints();
36
37 gbc.gridx=1;
38 gbc.gridy=1;
39 gbc.weightx=0.5;
40 gbc.weighty=0.99;
41
42 add(new JPanel(),gbc);
43 gbc.gridy++;
44 gbc.weighty=0.01;
45
46 gbc.insets = new Insets(10, 10, 10, 10);
47 gbc.fill = GridBagConstraints.NONE;
48
49 add(new FastQCTitlePanel(),gbc);
50
51 gbc.gridy++;
52 gbc.weighty=0.5;
53
54 add(new JLabel("Use File > Open to select the sequence file you want to check"),gbc);
55
56 gbc.gridy++;
57 gbc.weighty=0.99;
58 add(new JPanel(),gbc);
59
60 }
61 }