Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SpringLayout makes panel height equal to 0  RSS feed

 
Yura Vyrovoy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, all!

Help me please, I have following trouble:

I create JFrame that includes two more JFrames. I use SpringLayout to place them within content panel. But when I set one more SpringLayout for one on these panels it disappears – panel height become 0. What do I do wrongly?

Here is my code. I’ll be appreciate for any ideas.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!