2 |
26 Feb 07 |
jari |
1 |
/* |
2 |
26 Feb 07 |
jari |
Copyright @ 1999-2003, The Institute for Genomic Research (TIGR). |
2 |
26 Feb 07 |
jari |
All rights reserved. |
2 |
26 Feb 07 |
jari |
4 |
*/ |
2 |
26 Feb 07 |
jari |
5 |
/* |
2 |
26 Feb 07 |
jari |
* ParameterPanel.java |
2 |
26 Feb 07 |
jari |
7 |
* |
2 |
26 Feb 07 |
jari |
* Created on March 5, 2003, 8:29 PM |
2 |
26 Feb 07 |
jari |
9 |
*/ |
2 |
26 Feb 07 |
jari |
10 |
|
2 |
26 Feb 07 |
jari |
11 |
package org.tigr.microarray.mev.cluster.gui.impl.dialogs; |
2 |
26 Feb 07 |
jari |
12 |
|
2 |
26 Feb 07 |
jari |
13 |
import java.awt.Color; |
2 |
26 Feb 07 |
jari |
14 |
import java.awt.Font; |
2 |
26 Feb 07 |
jari |
15 |
|
2 |
26 Feb 07 |
jari |
16 |
import javax.swing.BorderFactory; |
2 |
26 Feb 07 |
jari |
17 |
import javax.swing.JPanel; |
2 |
26 Feb 07 |
jari |
18 |
import javax.swing.border.EtchedBorder; |
2 |
26 Feb 07 |
jari |
19 |
import javax.swing.border.TitledBorder; |
2 |
26 Feb 07 |
jari |
20 |
|
2 |
26 Feb 07 |
jari |
21 |
public class ParameterPanel extends JPanel { |
2 |
26 Feb 07 |
jari |
22 |
|
2 |
26 Feb 07 |
jari |
/** Creates new ParameterPanel */ |
2 |
26 Feb 07 |
jari |
24 |
public ParameterPanel() { |
2 |
26 Feb 07 |
jari |
25 |
super(); |
2 |
26 Feb 07 |
jari |
26 |
this.setBackground(Color.white); |
2 |
26 Feb 07 |
jari |
27 |
Font font = new Font("Dialog", Font.BOLD, 12); |
2 |
26 Feb 07 |
jari |
28 |
this.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(EtchedBorder.LOWERED), "Parameters", TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, font, Color.black)); |
2 |
26 Feb 07 |
jari |
29 |
} |
2 |
26 Feb 07 |
jari |
30 |
|
2 |
26 Feb 07 |
jari |
31 |
|
2 |
26 Feb 07 |
jari |
/** Creates new ParameterPanel */ |
2 |
26 Feb 07 |
jari |
33 |
public ParameterPanel(String title) { |
2 |
26 Feb 07 |
jari |
34 |
super(); |
2 |
26 Feb 07 |
jari |
35 |
this.setBackground(Color.white); |
2 |
26 Feb 07 |
jari |
36 |
Font font = new Font("Dialog", Font.BOLD, 12); |
2 |
26 Feb 07 |
jari |
37 |
this.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(EtchedBorder.LOWERED), title, TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, font, Color.black)); |
2 |
26 Feb 07 |
jari |
38 |
} |
2 |
26 Feb 07 |
jari |
39 |
|
2 |
26 Feb 07 |
jari |
40 |
} |