@@ -0,0 +1,929 @@
+import javax.swing.JOptionPane;%0A%0Apublic class Dulzen%0A%7B%0A    public static void main(String%5B %5D args)%0A    %7B%0A        int num;%0A        String options = JOptionPane.showInputDialog(%22Enter N for NORMAL or R for REVERSE%22);%0A        %0A        String number = JOptionPane.showInputDialog(%22Enter Number%22);%0A        num = Integer.parseInt(number);%0A        %0A        char option = options.charAt(0);%0A        if(option == 'N') %7B%0A            for(int i=num; i != 0; i--)%7B%0A                for(int y=0; y %3C i; y++)%7B%0A                    System.out.print(%22*%22);%0A                %7D%0A                System.out.println(%22%22);%0A            %7D%0A        %7D else if (option == 'R') %7B%0A            for(int i=0; i %3C num + 1; i++)%7B%0A                for(int y=0; y %3C i; y++)%7B%0A                    System.out.print(%22*%22);%0A                %7D%0A                System.out.println(%22%22);%0A            %7D%0A        %7D else %7B%0A            System.out.print(%22Invalid Option%22);%0A        %7D%0A    %7D%0A%7D%0A

Create Something.java