Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Posts
    433
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Java Applet Size

    Hi i want to know how i can set the prefered size of my applet in Java.
    I am using gridbagLayout...
    I have tries this but it doesn't work
    getContentPane().setSize(200,300);
    I want to do it without adding the <PARAM .....

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    Kansas City, Kansas
    Posts
    1,518
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Can we see all of your code? It will be much easier for people to help you if we can see what else is going on.


  •  

    Posting Permissions

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