This week's book giveaway is in the Other Languages forum. We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line! See this thread for details.
I want to update the color of a Graphics object through a function call. How can I do that? My program consists of a main function. This function generates a Window object. Which finally displays my Window and starts an endless threat, basically never comes back to the main function.
I want to update the graphic object through a function call from my thread. (It should simply change the color from red to green if a special event happend.)