File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes The panel refuses to show  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "The panel refuses to show  " Watch "The panel refuses to show  " New topic
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: 10491
    
    9

Cross posted at http://forums.java.net/jive/message.jspa?messageID=399681
Please read http://faq.javaranch.com/java/BeForthrightWhenCrossPostingToOtherSites


[How to ask questions] [Donate a pint, save a life!] [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: 19726
    
  20

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 - OCEEJBD 6
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: 19726
    
  20

Thanks for sharing the solution.
 
 
subject: The panel refuses to show