Are there built-in properties or objects that would allow a panel within a frame to be resized by dragging its edge? I'd rather not reinvent the wheel if such capabilities exist.
such capabilities don't exist. but if you do feal you have to re-invent the wheel, perhaps jinternalframe might be a better starting point than jframe (not that you said you were using jframe, i just assumed). it has the functionality you need, you just need to override paintcomponent and make it look lke the frame you want to see.
I actually have an MDI (using JInternalFrames) with the panel I want to resize in the South of the parent JFrame's BorderLayout. I have buttons to resize the panel currently, and I guess I'll just be lazy and stick with them for the moment.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.