A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
showing dialog / message box to client
Joined: Apr 15, 2005
May 19, 2005 01:59:00
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
(), 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
It is sorta covered in the
JavaRanch Style Guide
subject: showing dialog / message box to client
Cancelling Window onclose event.
Dialog Box Problem
JavaMail or Desktop API
Dialog Box Refresh Problem
XP 64-bit Swing issue
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014