I have a JFrame that uses CardLayout. The CardLayout panel content is of varied dimensions. it means the JComponents added to CardPanel will change size dynamically.
Is it possible to have the JFrame resize dynamically in response to the content of the CardLayout panel changing?
pete stein wrote:This looks quite familiar and in fact very similar to a thread recently seen in the forums.sun.com Swing section? Is this a cross-posted question?
yes its me who posted this question in both two forums : javaranch.com and java.sun.com . is there any problem about this ? is it illegal to post my question in two different forums ? if yes, can you show me where is this law forbidding posting a same discussion in many different website forums ?
or Better : do you have a solution to suggest me for solving the problem i described in this post thread ?
> if yes, can you show me where is this law forbidding posting a same discussion in many different website forums ?
> or Better : do you have a solution to suggest me for solving the problem i described in this post thread ?
certainly not illegal, but what often happens when posting to multiple sites is someone sees your unanswered problem,
then spends some time testing/posting a response, but unbeknown to them, the problem was answered earlier at
one of the other sites, meaning their free time has been wasted. This apparently is unimportant to people like you.
as it turns out, I do have a solution to the stated problem, but you getting that solution is unimportant to me.
What are you doing? You are supposed to be reading this tiny ad!
Free, earth friendly heat - from the CodeRanch trailboss