JavaRanch » Java Forums »
Java »
Java in General
| Author |
Cannot Make second card panel to show
|
Jeffrey Chu
Greenhorn
Joined: May 01, 2005
Posts: 10
|
|
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?
|
I'm sorry if i break any rules, im new, please bear with me while I learn the rules.
|
 |
Stefan Wagner
Ranch Hand
Joined: Jun 02, 2003
Posts: 1923
|
|
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.
|
http://home.arcor.de/hirnstrom/bewerbung
|
 |
 |
|
|
subject: Cannot Make second card panel to show
|
|
|
|