// Decompiled by DJ v3.12.12.96 Copyright 2011 Atanas Neshkov  Date: 08/10/2012 8:48:06
// 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:   ResumenPaso2.java

package project;

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

// Referenced classes of package project:
//            ResumenPaso3

public class ResumenPaso2 extends JLabel
{

    public ResumenPaso2(String Enunciado, Font fuente)
    {
        labelTexto = new JLabel();
        setFont(fuente);
        labelTexto.setEnabled(true);
        labelTexto.setBorder(BorderFactory.createEmptyBorder(0, 5, 0, 5));
        labelTexto.setDoubleBuffered(true);
        labelTexto.setOpaque(false);
        labelTexto.setBackground(Color.white);
        labelTexto.setText(Enunciado);
        labelTexto.setHorizontalAlignment(2);
        labelTexto.setVerticalAlignment(1);
        labelTexto.setForeground(new Color(2, 39, 127));
        labelTexto.setFont(getFont());
        labelTexto.setUI(new ResumenPaso3(2, 3));
        labelTexto.setPreferredSize(new Dimension(444, labelTexto.getPreferredSize().height));
        setLayout(new BorderLayout());
        add(labelTexto, "Center");
        if(labelTexto.getText().compareToIgnoreCase("") == 0)
            setPreferredSize(new Dimension(444, 0));
        else
            setPreferredSize(new Dimension(444, labelTexto.getPreferredSize().height));
        setBorder(null);
        setOpaque(false);
        setBackground(Color.white);
    }

    public static void main(String args1[])
    {
    }

    JLabel labelTexto;
}