This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
i am facing a gui related problem . Let me explain context of the problem. I am creating a Client side GUI Swing interface for RMI based Lotto application.
The client side
i have created aJTextFieldwhich takes the user input munbers and there isJButton("OK"). And have added these components to JFrame.
when user clicks "ok" button the .numbers is send to server.
Server generate a random number and match against all input numbers.If any of number match MSG = "win" else MSG="loss". And send this message to client.
Now the problem is
how can i show up this message in GUI component on client side ?