Results 1 to 3 of 3

Thread: resizing an applet

  1. #1

    Thread Starter
    Addicted Member annie613's Avatar
    Join Date
    May 2003
    Location
    NY, NY
    Posts
    161

    resizing an applet

    This one may not be that hard.

    I created an applet to interact with a user. The user will be able to input data and submit the data to a database.
    My question is when i run the applet the applet pops up with the form on but the whole form is not visible.

    How do I resize the applet????

    in the code or do i have to change it in a a file menu???

    thanks in advance annie

  2. #2

    Thread Starter
    Addicted Member annie613's Avatar
    Join Date
    May 2003
    Location
    NY, NY
    Posts
    161
    in jBuilder

    in the menu bar

    run || optimize project || click the run tab || adjust height and width fields

    just in case anyone else needs this

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    at runtime:
    void Applet.resize(int width, int height)
    or
    void Applet.resize(java.awt.Dimension dim)
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

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