NetBeans create and instantiate programatically custom swing widgets
- by RenegadeAndy
Hey!
I have a problem I know how I would solve easily developing under eclipse - but not so easily developing under net beans.
I want to create a custom swing widget - which I can instantiate by code as many as I need and attach them to my main panel.
I have developed the rest of the GUI using the GUIBuilder.
The problem is - im not entirely sure how to do this.
Say I got 20 results back from a web service,
I would wana loop round - and add 20 of these custom swing widgets - the custom swing widgets would look as follows :
:Picture:
:Label:
:Label:
Can anybody please help me, im not entirely sure how to do the custom widget either!
Thanks in advance for any support.
Andy