I devloping a program in java swing that need to create field dynamcly.
i Create a JPanel that take the name and number of fields you need it call for anther JPanel that crate all the fields
and the display them and anlyzi the data.
when this was the only form i used a JFrame
and for the dynamic Fields i used the:
pack() command .
but i need a lot more JFrame that related one to anthe.
so I used a JDesktoppane and JIntenalFrame
But then I need to use a JPanel but there is no Pack command for JPanel
basically I need the replacement of the Pack command from JFrame in JPanel.
someone have an idea?