• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot Make second card panel to show

 
Jeffrey Chu
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ive been looking at this for the alst hour and i cant seem to find out what is wrong, it all looks right to me.

there is a levpanel that is suppose to show up second, but it doesnt, any ideas?

 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
It's generally bad style, to post 434 lines of code.
If it's absolut necessary, you should at least mark the interesting lines.

// ---------------- here something goes wrong ----------------

And you should compile it, to avoid:


which should be:


When asking, you should strip off every code, which might be omitted, to produce the error, and only post that.
Often you will find the error yourself by reducing the code like that.

I don't know where the problem is, because I don't have the time to read 434 lines of code, but often panels aren't shown, because no LayoutManager is specified, and therefore only one Panel is added successfully.

- mhm. Found your Layoutmanager and levpanel.

Last advice: Search for the most appropriate section to post to: Swing/ AWT/ ... in this case.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic