Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » custom component not displayed correctly
custom component not displayed correctly [message #612378] Wed, 29 March 2006 09:26
Eclipse UserFriend
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
Previous Topic:NullPointerException when creating a new Visual class
Next Topic:Obscure VE classpath/ Virtual machine question
Goto Forum:
  


Current Time: Fri Apr 26 20:58:33 GMT 2024

Powered by FUDForum. Page generated in 0.03015 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top