JOptionPane Problem with JUnit
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, September 6, 2002 08:56 PM

When i run JUnit with my test methods that contains JOptionPane, it is able to test successfully (OK (2 tests)), however, JUnit refuses to return the command prompt to me. But if i replace the JOPtionPane.showMessageDialog with System.out.println , then the test will run successfully and return the command prompt to me. Is there any workaround ?

Re: JOptionPane Problem with JUnit

Posted By:   Anonymous  
Posted On:   Sunday, September 8, 2002 12:21 AM

See http://www.jguru.com/faq/view.jsp?EID=467061
About | Sitemap | Contact