Should I avoid the use of set(Preferred|Maximum|Minimum)Size methods in Java Swing?

Several times I’ve been criticized for having suggested the use of the following methods: setPreferredSize setMinimumSize setMaximumSize on Swing components. I don’t see any alternative to their use when I want to define proportions between displayed components. I have been told this: With layouts the answer is always the same: use a suitable LayoutManager I … Read more