mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Added string-capable constructor to FTextArea.
This commit is contained in:
@@ -19,4 +19,9 @@ public class FTextArea extends JTextArea {
|
|||||||
this.setFocusable(false);
|
this.setFocusable(false);
|
||||||
this.setEditable(false);
|
this.setEditable(false);
|
||||||
}
|
}
|
||||||
|
/** @param str {@java.lang.String} */
|
||||||
|
public FTextArea(final String str) {
|
||||||
|
this();
|
||||||
|
this.setText(str);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user