Resizing In Beans?
843805Mar 4 2007 — edited Mar 4 2007Hello all,
I am developing a bean for my home work. The bean should work under BDK.
My bean extends JPanel class. It has a JScrollPane and JList as member variables.
The problem is, when someone changes the size of the bean on the screen, only the size of the JPanel changes. I also want the size of the JScrollPane and JList to be changed.
I tried overriding the setSize function of the JPanel, unfortunately this function is not called when someone changes the size of the bean.
I would be glad if someone could show me a way to do it.
Thanks alot.
Sincerely yours.