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

problem in setting JPanel size in Jython

 
naveen yadav
Ranch Hand
Posts: 384
Java MyEclipse IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i wan to set the size of a panel width as 50 and height as 50. for that i used setSize() of Jpanel class but no use. The whole frame is coming yellow , it means its size 50*50 is not set.
here is code



what am i missing here ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic