• Post Reply Bookmark Topic Watch Topic
  • New Topic

JFrame  RSS feed

 
Rajib Sarma
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm new to java. I want to ask a question.
How do I remove the title bar alongwith the minimize/maximize buttons, from a JFrame ?
Thanks
- Rajib sarma
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One thing you could do is setUndecorated( true ) :
 
chaitanya vashista
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
or you can use Jwindow instead of jframe.JWindows don't have titlebar or min/max buttons.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!