Search:

Type: Posts; User: beer-in-box

Search: Search took 0.14 seconds.

  1. Replies
    14
    Views
    1,376

    [SOLVED] Re: Updating The Components

    Thanks again :)
  2. Replies
    14
    Views
    1,376

    [SOLVED] Re: Updating The Components

    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...
  3. Replies
    14
    Views
    1,376

    [SOLVED] Re: Updating The Components

    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.
  4. Replies
    14
    Views
    1,376

    [SOLVED] Re: Updating The Components

    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...
  5. Replies
    14
    Views
    1,376

    [SOLVED] Re: Updating The Components

    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...
  6. Replies
    14
    Views
    1,376

    [SOLVED] Re: Updating The Components

    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
  7. Replies
    14
    Views
    1,376

    [SOLVED] Re: Updating The Components

    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...
  8. Replies
    14
    Views
    1,376

    [SOLVED] Updating The Components

    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...
Results 1 to 8 of 8