how to fix the JFrame size?

Discussion in 'Java' started by nick, Dec 3, 2004.

  1. nick

    nick Guest

    i want to fix the JFrame size , make it can't resize

    thanks!
     
    nick, Dec 3, 2004
    #1
    1. Advertisements

  2. nick

    Woebegone Guest

    Woebegone, Dec 3, 2004
    #2
    1. Advertisements

  3. nick

    FET Guest

    //set the bounds of the frame
    setBounds ( x , y , width , height );

    setResizable ( false );
     
    FET, Dec 3, 2004
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.