Hi, If you visit this web site http://www.geocities.com/eosrubiginosa/ and scroll to the bottom of the page, you will see a partial JavaJDialog for my project (I have obscured some sections of the dialog which are not related to my question). Question 1 --------- There are two buttons, "Remote" and "Local", and these buttons are not exactly the same width. Should I be concerned about this and make changes so that their widths are absolutely identical in pixels? Question 2 --------- Within the labeled border called "Local", I use two BoxLayouts. Each line is a horizontal box, and each line contains a radio button and then the filename. You will notice that the TextField's representing the filenames do not line up exactly. Should I be concerned about this and change to another layout manager which would line them up exactly? Thanks, Javini Javono
Hi Javini, I personally care for perfect alignments, equal sizes of related visual objects (buttons among others) and visual "balance" of my screens layouts. In other words, I do care for making my screenns "nice". But:
It's a subjective area
I'm perfectionnist to death!
So I am as interested as you to know how other people are concerned by your questions. Regards, Phil.
Hi, I send you two big YES for both question! I have the same reasons as Phil... However, to me this has nothing to do with perfectionism at all. It is just common sense. Look at the UI of your favourite software (OS, office products, you name it) - they all take care of such "details". Btw, I kinda like the idea of using a BoxLayout! I just wonder what the second text field in local mode is for??? Regards, Marcel
Joined: Dec 03, 2003
Hi, Question: I just wonder what the second text field in local mode is for??? The user can connect locally to one of two database types (having support for multiple databases is not required for the project, however). Thanks, Javini Javono
Hi, for almost all of my forms, I use a mix of GridBagLayouts frequently included in the NORTH, CENTER, or SOUTH slots of a BorderLayout. I personnaly think that the GridBagLayout is the most powerfull layout available. And also the most complicated. But all of my components are exactly where they are supposed to, and this layout also does an excellent job when you resize your window, if you provide the good constraints.