Results 1 to 4 of 4

Thread: How to hide both the MINIMIZE and MAXIMIZE buttons from a window?

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2002
    Posts
    12

    Question How to hide both the MINIMIZE and MAXIMIZE buttons from a window?

    Is there anyway that I could use to remove the MINIMIZE and MAXIMIZE buttons up the top right coner of a window ?

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Are we talking AWT, or Swing?
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    It would appear not to matter if you are using Frame or JFrame.

    If you are extending Frame or JFrame just use:
    Code:
    this.setResizable(false);
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  4. #4

    Thread Starter
    New Member
    Join Date
    Mar 2002
    Posts
    12

    Smile

    Thanx for the advice ... but I've figured out to use a Dialog instead of a Frame to build the window.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width