[Java-gnome-developer] VButtonBox
Brought to you by:
afcowie
From: Skip C. <sco...@gm...> - 2004-10-29 21:26:06
|
Hey All, I am using glade to build my gui and I am wondering how to dynamically add buttons to a VButtonBox. This is what I have tried to do so far: Iterator iterator = nodes.iterator(); while(iterator.hasNext()){ Hashtable hash = (Hashtable)iterator.next(); verticalButtonBox.add(new Button()); rightTextBuffer.insertText((String)hash.get("description") +"\n"); } Unfortunately, the new buttons do not get added. Any help would be greatly appreciated. scoon |