GeeCON Prague 2014*
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


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: 2301
    
  49
I am posting the code here.

Err, there's no code shown!
 
GeeCON Prague 2014
 
subject: Jrame not visible when Try to run from Unit Test