Ranganathan Kaliyur Mannar wrote:
when does the layout change? when clicked on a button? and how are you implementing the change in your listener?
Looking from what you are doing, I think you should make use of CardLayout to display different panels as per the need
hi,
In this project i am not allowed to use CardLayout although i know how to use it, that is the reason i am doing it this way. the layout is changed either using JRadioButtons in a fixed JPanel, or with a button which produces a random layout <--- just added the random layout for fun.. Like i said, everything is working quite well, just curious if grouping Components together with a JPanel whithin a JPanel is ok to do? or is there a better way of doing it?
Thanks
Mike