wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
Similar Threads
Swing: Unable to bring down the size of JPanel
Learning to use Drag and Drop
How to stop JTextField collapsing when using GridBagLayout?
Need help with Layout
ideas wanted on making this custom JTable cell renderer more efficient