J
John
Hi.
This sounds easy to do but I've been struggling with getting a clean and
reliable solution.
I would like to make a call like this...
Object value = UserQueryAgent.getName();
.... in order to obtain the user's name.
UserQueryAgent.getName() is a static method which creates a
JInternalFrame (say), waits until a condition is met (typically the user
providing the required information), then returns the value provided to
the JInternalFrame.
How would you code UserQueryAgent.getName()?
I can get it to work, but only in a fairly scrappy fashion which is
prone to failing with bizarre exceptions.
John
This sounds easy to do but I've been struggling with getting a clean and
reliable solution.
I would like to make a call like this...
Object value = UserQueryAgent.getName();
.... in order to obtain the user's name.
UserQueryAgent.getName() is a static method which creates a
JInternalFrame (say), waits until a condition is met (typically the user
providing the required information), then returns the value provided to
the JInternalFrame.
How would you code UserQueryAgent.getName()?
I can get it to work, but only in a fairly scrappy fashion which is
prone to failing with bizarre exceptions.
John