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

Disable JFrame Control  RSS feed

 
nabi bux
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hellow
how are u every one I want to disapear the contro of JFrame
can it is posible as in vb means there is no close contrl minimize and maximize
please help
thanks in advance
 
Campbell Ritchie
Marshal
Posts: 55698
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean you want to prevent the user resizing the Frame? Look in the Frame class on the API, where there is a method which does just that.

CR
 
nabi bux
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which class please write
i mean there must no tile bar all contrl not visible
thanks for reply
 
Campbell Ritchie
Marshal
Posts: 55698
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I find it difficult to see what you want to do, but in the the Frame class description in the API specification, it says
A frame may have its native decorations (i.e. Frame and Titlebar) turned off with setUndecorated. This can only be done while the frame is not displayable.

Is that what you are looking for??

CR
 
nabi bux
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply i will did it
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!