| Author |
The panel refuses to show
|
Alexandre Yamajako
Greenhorn
Joined: May 02, 2010
Posts: 3
|
|
As a part of a bigger graphical interface, I need a 410x350 modal window with a green panel inside, for some reason the modal window appears fine but nothing seems to be on it. Could somebody have a look a tell me what I'm forgetting please, I'm losing my mind here.
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8439
|
|
Cross posted at http://forums.java.net/jive/message.jspa?messageID=399681
Please read http://faq.javaranch.com/java/BeForthrightWhenCrossPostingToOtherSites
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
Alexandre Yamajako
Greenhorn
Joined: May 02, 2010
Posts: 3
|
|
|
My apologies, I didn't read this before. As pointed out I posted that same question on java.net but got no answers so I went to you guys. Is that ok ?
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
As long as you tell both us about the thread on java.net, and tell java.net about this thread.
Can you please edit your code and add some proper indentation? It's still a bit hard to read your code. Also, please remove the java.awt and javax.swing from the class names. Those again decrease readability.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Alexandre Yamajako
Greenhorn
Joined: May 02, 2010
Posts: 3
|
|
I actually found the answer. The thing that I set visible wasn't the modal window.
Rookie mistake
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Thanks for sharing the solution.
|
 |
 |
|
|
subject: The panel refuses to show
|
|
|