posted 14 years ago
hi all,
When I programmatically add a component such as a list or button to a frame that I have used code to build then it will appear fine but I have an issue where the NetBeans frame that I have created and which is full of the NetBeans generated code, does not seem to respect the component that I add and thus it is not displayed.
I can for example, add a border to the panel through code which does show on screen when the project is run but a JButton or list for example will not. Why might this be?
I hope someone can shed some light thanks,
Colm