public PanelGradiente() { setStartColor(new Color(50, 255, 50)); setLargo(50); setNombre("Dani Cricco"); setInc(50); setMinimumSize(new Dimension(logo.getIconWidth(), logo.getIconHeight())); }
public PanelGradiente(ImageIcon logo,Color startColor,int incremento,String nombre,double largo) { this.largo=largo; this.startColor=startColor; inc=incremento; this.logo=logo;    setNombre(nombre); }
    public PanelGradiente() {        setStartColor(new Color(50, 255, 50));        setLargo(50);        setNombre("Dani Cricco");        setInc(50);        setMinimumSize(new Dimension(logo.getIconWidth(), logo.getIconHeight()));    }