suitable LayoutManager for resizable components
问题 sometime ago I read this article that shows a way to implement mouse resizable components in Swing. The author uses a null LayoutManager in order to allow absolute component positioning. I know that a null layout should never be used, so my question is: is there any already implemented LayoutManager that allow component's absolute positioning, or I have to implement it my own? 回答1: A layout manager really does 3 things: Set the location of a component. Since you need the ability to drag the