Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jrame not visible when Try to run from Unit Test

 
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: 2969
59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am posting the code here.

Err, there's no code shown!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic