custom component not displayed correctly [message #612378] |
Wed, 29 March 2006 09:26 |
Eclipse User |
|
|
|
Originally posted by: johannes.testori.NOSPAM_shark-soft.com
hi all,
i have created a component called "STRadioButtonSet" (that inherits from
my custom STPanel that inherits from JPanel).
the STRadioButtonSet has a method "addItem(String name)" that adds radio
buttons. every time a new item is added, a new radiobutton is created
internally and added to the STRadioButtonSet, and the layout might be
changed so the radiobuttons fit inside the STRadioButtonSet.
the problem is that when i create a new JPanel and place an
STRadioButtonSet inside it and add some radiobuttons with "addItem", the
radiobuttons are not displayed in the VE.
but if i create a new JFrame or JPanel and add the other panel (with the
STRadioButtonSet inside), the radiobuttons are displayed in the frame.
kind regards,
hannes
|
|
|
Powered by
FUDForum. Page generated in 0.02587 seconds