]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/ui/StarLabel.java
Changed spelling to manifest
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / common / ui / StarLabel.java
1 /** @file
2
3 The file is used to override JLabel to provides customized interfaces
4
5 Copyright (c) 2006, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 **/
15
16 package org.tianocore.frameworkwizard.common.ui;
17
18 import javax.swing.JLabel;
19
20 /**
21 The class is used to override JLabel to provides customized interfaces
22
23
24
25 **/
26 public class StarLabel extends JLabel {
27
28 ///
29 /// Define class Serial Version UID
30 ///
31 private static final long serialVersionUID = -6702981027831543919L;
32
33 /**
34 Main class, reserved for test
35
36 @param args
37
38 **/
39 public static void main(String[] args) {
40 // TODO Auto-generated method stub
41
42 }
43
44 /**
45 This is the default constructor
46
47 **/
48 public StarLabel() {
49 super();
50 init();
51 }
52
53 /**
54 To create a RED, BOLD and 14 size "*"
55
56 **/
57 private void init() {
58 this.setText("*");
59 this.setSize(new java.awt.Dimension(10, 20));
60 this.setForeground(java.awt.Color.red);
61 this.setFont(new java.awt.Font("DialogInput", java.awt.Font.BOLD, 14));
62 this.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
63 }
64 }