// Decompiled by DJ v3.12.12.96 Copyright 2011 Atanas Neshkov  Date: 08/10/2012 8:47:59
// Home Page: http://members.fortunecity.com/neshkov/dj.html http://www.neshkov.com/dj.html - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   MensajeMatriculaUsuario.java

package project;

import java.awt.*;
import javax.swing.*;

// Referenced classes of package project:
//            JLabel

public class MensajeMatriculaUsuario extends JPanel
{

    public MensajeMatriculaUsuario(String text)
    {
        this(text, ((LayoutManager) (new FlowLayout(1, 5, 1))), 2, m_defaultFont);
    }

    public MensajeMatriculaUsuario(String text, LayoutManager manager)
    {
        this(text, manager, 2, m_defaultFont);
    }

    public MensajeMatriculaUsuario(String text, LayoutManager manager, int alignment, Font font)
    {
        super(manager);
        setOpaque(false);
        setBorder(BorderFactory.createEmptyBorder(10, 0, 5, 0));
        int index = -1;
        String array[] = text.split("-br-");
        project.JLabel separacion = new project.JLabel();
        separacion.setPreferredSize(new Dimension(200, 5));
        separacion.setOpaque(false);
        add(separacion);
        for(int i = 0; i < array.length; i++)
        {
            project.JLabel label = new project.JLabel(array[i]);
            label.setHorizontalAlignment(0);
            label.setPreferredSize(new Dimension(300, 14));
            label.setFont(font);
            label.setForeground(new Color(66, 82, 148));
            add(label);
        }

    }

    static final Font m_defaultFont = new Font("Arial", 1, 11);

}