I am at my wit's end. I have tried everything to get my JInternalFrame to fill out a JDesktopPane. My layout doesn't seem stable and things seem to keep shifting. I keep having to recalculate the width and height and change it to suit the mood of my layout. Does anyone with this kind of experience know how to make a JInternalFrame fill out the dimensions of a JDesktopPane?
I am so sorry to get back to you so late. I tired your code and it does work however, I lose those lovely refined Swing borders around the JInternalFrame. I get a thick blue line around the whole frame. With patience, I have managed to stabilize my layout and everything is very snappy now, I will keep your code for future reference.
Thank you so much. and sorry for the late response.