Alert alert = new Alert(AlertType.CONFIRMATION);
alert.setTitle("Stuff");
alert.setContentText(messageIWannaCopy());
conf.show();
I'm creating an alert in JavaFX. But I'd like the user to be able to copy the message to the clipboard. How can I do that? By default it looks like a standard label, which doesn't allow that.