• 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
  • 0
  • 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 ?
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic