mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
24 lines
593 B
Java
24 lines
593 B
Java
package forge.gui.toolbox;
|
|
|
|
import javax.swing.JRadioButton;
|
|
|
|
/**
|
|
* A custom instance of JRadioButton using Forge skin properties.
|
|
*/
|
|
@SuppressWarnings("serial")
|
|
public class FRadioButton extends JRadioButton {
|
|
/** */
|
|
public FRadioButton() {
|
|
this("");
|
|
}
|
|
|
|
/** @param s0   {@link java.lang.String} */
|
|
public FRadioButton(String s0) {
|
|
super();
|
|
this.setText(s0);
|
|
FSkin.get(this).setForeground(FSkin.getColor(FSkin.Colors.CLR_TEXT));
|
|
this.setFont(FSkin.getFont(14));
|
|
this.setOpaque(false);
|
|
}
|
|
}
|