S
steve smith
Hi here is the problem i have i have created a jpanel, and on that
panel are various components, if i resize that panel then the
components will then move to different places on the panel. Say if i
have a text box right at the bottom of a panel, if i extend the panel
i want the text box to remain at the bottom, how can this be done? I
also want the components and the panel to remain the same when it is
being run off different machines with different resolutions, how can
this be done?
another problem i have is that i am creating a program which wil then
draw a number of objects on the panel, the size of the objects is
fixed as is the distance between them, the problem i ahve is if i draw
to many objects then they just run off the panel, is there anyway in
which i can contain all the objects on the panel? Perhaps in some way
resizing the objects etc? Any help much appreciated thanks.
panel are various components, if i resize that panel then the
components will then move to different places on the panel. Say if i
have a text box right at the bottom of a panel, if i extend the panel
i want the text box to remain at the bottom, how can this be done? I
also want the components and the panel to remain the same when it is
being run off different machines with different resolutions, how can
this be done?
another problem i have is that i am creating a program which wil then
draw a number of objects on the panel, the size of the objects is
fixed as is the distance between them, the problem i ahve is if i draw
to many objects then they just run off the panel, is there anyway in
which i can contain all the objects on the panel? Perhaps in some way
resizing the objects etc? Any help much appreciated thanks.