It has been a while since I have posted on Mac forums, and I hope that everyone is doing well. Recently, I started working with Java, and I came across an interesting, and probably easy to fix, problem. I am implemented a class River, and I have implemented JScrollPane, JTextArea, JMenuBar and the like. In the JTextArea, I have made it editable, but now I have difficulties in limiting the width. I want it to be akin to Appleworks, where you have the margins and the text will automatically go down to the next line. I did enable the scrollPane, and perhaps that is where the problem is, doubtful though.
I tried a few different things from other online sources, to no avail, so I am hoping that the combined knowledge at mac forums can help me with this problem.
I tried a few different things from other online sources, to no avail, so I am hoping that the combined knowledge at mac forums can help me with this problem.