Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jrame not visible when Try to run from Unit Test  RSS feed

 
looka dicosta
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3264
81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am posting the code here.

Err, there's no code shown!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!