This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Jython/Python and the fly likes problem in setting JPanel size in Jython Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Languages » Jython/Python
Bookmark "problem in setting JPanel size in Jython" Watch "problem in setting JPanel size in Jython" New topic
Author

problem in setting JPanel size in Jython

naveen yadav
Ranch Hand

Joined: Oct 23, 2011
Posts: 384

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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in setting JPanel size in Jython
 
It's not a secret anymore!