Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 641791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:06:03+00:00 2026-05-13T21:06:03+00:00

I have an application which displays properties dialogs for various GUI-accessible objects. Because there

  • 0

I have an application which displays properties dialogs for various GUI-accessible objects. Because there are a huge number of different kinds objects, there are also a huge number of different properties dialogs. Because we are lazy, we didn’t want to hand-build each and every properties dialog; additionally, plugins might introduce new kinds of objects which also need properties dialogs, and it would be nice if plugin designers didn’t need to hand-code properties dialogs, either (both to save them work, and to ensure that the result is uniform). Instead, we built a framework which maps properties of these objects to GUI components (e.g., checkboxes, text fields, combo boxes) and then packs them all into a dialog. This has the advantage of requiring no work on our part for building the dialogs, but the dialogs also look like we didn’t put any work into laying them out: They look like stacks of Jenga blocks. These dialogs are embarrassing to look at.

So, my question is: Is there any way to automatically layout properties dialogs so they don’t look so utterly ugly? (I realize that the answer to this might be “No”, but it might also be the case that we just haven’t been sufficiently creative in thinking about better ways.) NB: We’re working with Java Swing, but really the problem itself is language-agnostic.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T21:06:04+00:00Added an answer on May 13, 2026 at 9:06 pm

    I would put my vote as “no”, at least for sufficiently discriminating definitions of “automatically” and “don’t look so utterly ugly”.

    This is definitely a common problem: I think at least three of my coworkers have asked for something like this in the last year alone. Unfortunately, I’m not aware of any automated layout solution that doesn’t require significant guidance (such as specifying layouts in XUI) in order to work.

    Obviously, there are simple things you can do to make your automatically-generated components more easily composable, such as standardizing widths and heights of labels and content. There are also some heuristics that you can apply that might help, such as sorting properties by control type so that all of the combo boxes go together, all of the text fields go together, etc.

    However, good GUI layout is hard, and even human programmers often seem to do a pretty poor job of it. This is why I’m not surprised that no one has developed a general automated layout tool that doesn’t require specifying a lot of additional information about how the automatically-generated controls are to be presented.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 372k
  • Answers 372k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer "Traditional data copying approach" May 14, 2026 at 7:11 pm
  • Editorial Team
    Editorial Team added an answer Your problem here are not the spaces but rather a… May 14, 2026 at 7:11 pm
  • Editorial Team
    Editorial Team added an answer A datareader is always faster (since the datatable uses it… May 14, 2026 at 7:11 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.