java - JRadioButton: how to replace text by IconImage? -
i want replace text in radio button list icon.
i've tried this:
rotatebutton = new jradiobutton(rotateicon.getimage());
but replaces radio button , text icon. keep radio button , display image.
what should do?
what i'm getting is:
but want end this:
public jradiobutton(string text, icon icon) , simple example here
Comments
Post a Comment