how can i set the JDialog size at Initialize


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: how can i set the JDialog size at Initialize

  1. #1
    bob Guest

    how can i set the JDialog size at Initialize


    as title
    thanks for read

  2. #2
    Kent Guest

    Re: how can i set the JDialog size at Initialize


    Either

    1. add components with the correct sizes and call pack()
    2. call setSize() on the dialog.

    Method 1 is the preferred.

    Regards,
    Kent


    "bob" <java.@127.0.0.1> wrote:
    >
    >as title
    >thanks for read



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center