Hi All, I have a JInternalFrame to which I've added a JPanel.It can be resized. Now I want to limit the resize bounds of the JInternalFrame. I tried using the ComponentListener & the componentResized method. But even after I use this I am not able to stop the resizing completely. The Frame gets dragged and when it is let go, it assumes its default width & height. Now I wanna stop resizing AS SOON AS someone tries to. I guess I've made my doubt clear. Do help! Thanks.
Manfred Leonhardt
Ranch Hand
Joined: Jan 09, 2001
Posts: 1492
posted
0
Hi Priya, If you want to stop user resizing: JInteralFrame jIF = new JInternalFrame(); jIF.setResizable( false ); Regards, Manfred.