jgrasp - How to make advanced square using nested for-loops?

I have to use multiple nested loops in jGRASP to get the desired output. When I put this: SQUAREI have to get this:SQUAREQ RU AA UR QERAUQSMy code so far:String output=""; output+= word; for (int i = 1; i < word.length()-1; i++) { output+= word.charAt(i)+"\n"; for (int j = 0; j < word.length() - 2; j++) { output += " "; } output += (word.length() - i - 1); } StringBuffer s = new StringBuffer(word); output+= s.reverse();but my output is:squareq...Read more

How do I change the size of my applet on JGrasp?

I wanted to know how I could change the size of the applet.I did it once back when I installed JGrasp but when I had to reinstall it due to a factory reset to my computer, I think it defaulted back to a bigger size, and I have not remembered/found any tutorial helping me do so.... Thanks for your time...Read more

jgrasp - How do I fix my missing dependency?

I installed jgrasp, a Java development environment. After installing it on Windows 10, I tried to start jgrasp up, which gave me this error:java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jdk-9.0.1\bin\awt.dll: Can't find dependent librariesThe problem is, there is awt.dll in Java's bin file, but why isn't it recognizing it?...Read more

jgrasp - How do I implement a mouse event outside the Java frame?

I am trying to make a return program which will press the enter key when the left mouse key is clicked... with courtesy of http://www.java-tips.org/java-se-tips/java.awt/how-to-use-robot-class-in-java.html (for void typing method) and "thenewboston" I have gotten so far...I am trying to make it so that it will function in other platforms, for example: Word, Note Pad and not just on a JFrameThis is what I have up till now...import java.awt.event.MouseEvent;import javax.swing.*; import java.awt.*; import java.awt.event.*;import java.awt.Robot...Read more