convex.gui.manager.windows.actor.ParamLabel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of convex-gui Show documentation
Show all versions of convex-gui Show documentation
Convex desktop GUI and test applications
package convex.gui.manager.windows.actor;
import javax.swing.JLabel;
import javax.swing.SwingConstants;
import convex.gui.utils.Toolkit;
/**
* Generic label component for displaying code
*/
@SuppressWarnings("serial")
public class ParamLabel extends JLabel {
public ParamLabel(String text) {
super(" " + text + " ");
this.setHorizontalAlignment(SwingConstants.RIGHT);
this.setFont(Toolkit.SMALL_MONO_FONT);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy