This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
So you don't need to hardcode support for ImageIcon. BTW is it intentional that there is no similar code in DropDownToggleButton?
I see, I'll change it and do the same in DDTB. Are there any modules using DDTB at the moment, so I can test the change?
The icons should work the same in both buttons now, using U.i2i. I'll update DDTB with the popup menu enhancement too. Checking in IconWithArrow.java; /cvs/openide/awt/src/org/openide/awt/IconWithArrow.java,v <-- IconWithArrow.java new revision: 1.3; previous revision: 1.2 done Checking in DropDownButton.java; /cvs/openide/awt/src/org/openide/awt/DropDownButton.java,v <-- DropDownButton.java new revision: 1.3; previous revision: 1.2 done Checking in DropDownToggleButton.java; /cvs/openide/awt/src/org/openide/awt/DropDownToggleButton.java,v <-- DropDownToggleButton.java new revision: 1.2; previous revision: 1.1 done
> I see, I'll change it and do the same in DDTB. Are there any modules using DDTB at the moment, so I can test the change? there isn't, but i'm planing to use it in tasklist's toolbar soon.