Thanks again :)
Type: Posts; User: beer-in-box
Thanks again :)
Thanks. So, just to be clear on this, considering my code;
-You say you would pass a variable of the mainWindow class to the constructor of Hail class, right? I did not use a constructor. Maybe...
Yes but can you give a short example of your way or just implement it with my code? I'm very interested in learning your way.
I got it. However, I am not sure if this is what you told me to do. But I passed an JTextPane to hail class' test method.
I am sharing my final code here, and it is cleaned from the...
I still can't get my head around it.
Actually I am not sure anymore if I don't understand you or I don't know how to implement your idea.
What I am doing here is that, the mainWindow class...
Norm I am sorry but I don't understand you. I thought I did, but I sat in front of my code to make a change but it turns out, I did not understand you :D
Thanks Norm. It does create another window instead of just updating the textPane in the existing one. And when I set the new window (presented by "m" in Hail class), it shows another window with the...
Hi,
Here is my problem: I wanted to make a GUI for a code that solves Hailstone Sequence (The Hailstone Sequence).
It is an easy one, so I could solve it but I was printing to the console.
I...