Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to disable the top bar in a Frame

 
Jorge Bendahan
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, i have a little app, with an JMenuBar, i want that the JInternalFrames do not show their top bar, i managed to disable the close, minimize and maximize buttons of this bar, but i want to disable the whole thing. how can i do it.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> but i want to disable the whole thing

disable? = get rid of?

a couple of options:
 
Jorge Bendahan
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
setNorthPane(null); --> that works ok. Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic