Results 1 to 2 of 2
  1. #1
    pcman312 is offline Member
    Join Date
    Dec 2010
    Rep Power

    Default JFrame expanding to fit content

    Is it possible to create a JFrame (or JDialog, or any other window component) that will expand to fit its content. Specifically, I'm looking to create a generic dialog box that will take a message and a title and display it to the user in a generic Yes/No type dialog box. If anyone is familiar with ZK (ZK - Direct RIA) I'm trying to mimic the functionality using swing.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

Similar Threads

  1. Update the JFrame after change the Content Pane
    By alisonchan30 in forum AWT / Swing
    Replies: 1
    Last Post: 04-26-2010, 07:22 AM
  2. Changing content pane of a JFrame?
    By dunafrothint in forum AWT / Swing
    Replies: 1
    Last Post: 03-11-2010, 11:21 PM
  3. Printing JFrame + it`s content
    By scana in forum AWT / Swing
    Replies: 1
    Last Post: 01-24-2010, 11:55 PM
  4. dynamically expanding byte container?
    By dfens in forum New To Java
    Replies: 1
    Last Post: 07-03-2009, 11:27 AM
  5. [SOLVED] Prevent JTextField from Expanding Within JFrame
    By Singing Boyo in forum New To Java
    Replies: 5
    Last Post: 05-15-2009, 03:00 AM

Posting Permissions

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