This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

showing dialog / message box to client

dale con
Ranch Hand
Posts: 93
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All

I'm writing a server-side web service. During one exposed amethod I need to show a dialog/message box to the client asking them a question.

The clients clicks yes or no button and that determines which code gets executed.

Can anyone advise on how i should so this?

If i use this
int answer = JOptionPane.showConfirmDialog(new JFrame(), message, title, JOptionPane.YES_NO_OPTION);

Then i'll be showing a dialog box and waiting for user input while in the middle of a remote socket call - which will be wrong

Does anyone have any suggestions on how i should do this

Many thanks for any advice
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic