Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The panel refuses to show

 
Alexandre Yamajako
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Alexandre Yamajako
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20532
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Alexandre Yamajako
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I actually found the answer. The thing that I set visible wasn't the modal window.
Rookie mistake
 
Rob Spoor
Sheriff
Pie
Posts: 20532
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for sharing the solution.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic