Search:

Type: Posts; User: copeg

Search: Search took 0.07 seconds.

  1. Replies
    8
    Views
    2,348

    [SOLVED] Re: setPrefferedsize not working?

    Because this is their programmed behavior. The API and tutorials contain information on this behavior (albeit sometimes buried within)
  2. Replies
    8
    Views
    2,348

    [SOLVED] Re: setPrefferedsize not working?

    For future reference, please use the code tags (you can find out how to do so by reading the announcements post at the top of every forum).

    Switch your BoxLayout to a FlowLayout and see what...
  3. Replies
    8
    Views
    2,348

    [SOLVED] Re: setPrefferedsize not working?

    You may be mistaken on what actually is the parent container here - the JDialog, for which you call setSize()
  4. Replies
    8
    Views
    2,348

    [SOLVED] Re: setPrefferedsize not working?

    See Solving common layout problems. By setting the preferred size you have given a hint as to how it will render, but the rendering size will be left to the layout manager (and how it deals with the...
Results 1 to 4 of 4