posted 16 years ago
hi all..I need to construct a dynamic toolbar, ie. the number of buttons, position of buttons and icon of buttons will change dynamically. I'm planning to use JToolBar, and I have a doubt: whenever I need to refresh the toolbar, I need to remove all old elements from the toolbar, and add new elements to it again. Is it the correct way to do this or is there any better way? Thanks in advanced!