#17 Luotu custom label luokka, otettu uudet säädöt käyttöön mahdollisimman monessa paikkaa
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package fi.lpam.gui.elementit;
|
||||
|
||||
import javafx.scene.control.Label;
|
||||
import javafx.scene.text.Font;
|
||||
|
||||
public class FontLabel extends Label {
|
||||
public FontLabel(Font font, String text) {
|
||||
super(text);
|
||||
this.setFont(font);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user