Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is there any way to hide the title bar of java applications?  RSS feed

 
Eman Abdo
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In fact, I don't like its style. I want to hide it and design a picture for the background of the frame. I will draw a similar bar within the picture as the style I like.I am using netBeans 6 IDE

how can I hide the title bar ?
 
Rob Spoor
Sheriff
Posts: 21089
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to remove the decorations (setUndecorated(true) on the JFrame), then create all of it yourself. That includes the minimize, maximize and close buttons as they will be removed as well.

Can some moderator move this to the Swing forum?
 
Eman Abdo
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much !
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!