import javax.swing.JOptionPane; public class Exerc221 { public static void main(String[] args) { String temp="", a, b, c, d, e, f, g, h, i; a= (" ********* *** * * \n"); b= (" * * * * *** * * \n"); c= (" * * * * ***** * * \n"); d= (" * * * * * * * \n"); e= (" * * * * * * * \n"); f= (" * * * * * * * \n"); g= (" * * * * * * * \n"); h= (" * * * * * * * \n"); i= (" ********* *** * * \n"); temp = a + b + c + d + e + f + g + h + i; // System.out.println(temp); JOptionPane.showMessageDialog(null,temp,"ExercĂ­cio 2.20",JOptionPane.PLAIN_MESSAGE); } }