This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Jrame not visible when Try to run from Unit Test Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Jrame not visible when Try to run from Unit Test" Watch "Jrame not visible when Try to run from Unit Test" New topic
Author

Jrame not visible when Try to run from Unit Test

looka dicosta
Greenhorn

Joined: Nov 22, 2012
Posts: 21
Hi all,

I am trying to display a JFrame from a Test (Junit ) but it's not getting displayed.Editor reads a text file and paint image on canvas.

I am posting the code here. Here "Can" depicts my canvas.(Jpanel)
Tony Docherty
Bartender

Joined: Aug 07, 2007
Posts: 2713
    
  56
I am posting the code here.

Err, there's no code shown!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Jrame not visible when Try to run from Unit Test
 
It's not a secret anymore!