When an alert panel is opened, task execution stops until a button is clicked and some response is sent back to the alert controller.
I'm probably overlooking the obvious, but how do I replicate this behavior? Here's the general setup:
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">public void awakeFromNib() {
if (someTest) {
someMethod();
} else {
displayCustomWindow();
// I want the awakeFromNib method to pause here as it would
// for an alert panel.
someMethod();
}
}</pre><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Any pointers in obj-C or java would be helpful.