In here, I add items using the "add" button. Then, the names of the items, locations of the items and the size of the items will be displayed in the Boxes called "nameBox", "locationBox" and "sizeBox". "nameBox" contains JCheckBoxes and other two contains JLabels.
Now, the problem is, when I add items, the "nameBox" goes down, while other boxes are in their correct position. When I add more items, it goes more down. I am attaching two images explaining the normal look and with my Box Down problem. Please help me..>>
Align-Issue.png
normal-look.png
Are you better than me? Then please show me my mistakes..
467 lines of uncompilable code? you must be joking.
in that state, if you want it fixed, you'd have to pay someone.
if you really want us to help, strip out everything unrelated
(e.g. are the images part of the problem, if not why are they there)
just use a frame with 2 or 3 components to reproduce your alignment problem,
then post that code here (should be 30 lines max), and make sure we can
copy/paste/compile/run and observe the problem.
Thanks for the reply. Anyway, the code I have posted before is less than half of my original code. However, I edited it and reduced the code as much as I can. There is no way I can reduce it to 30 lines, because it will never address my original issue. Please help.