Question: How do I get my emoji in my java code to look like this one that I uploaded.import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.Group; import javafx.scene.shape.Arc;

How do I get my emoji in my java code to look like this one that I uploaded.import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.Group;
import javafx.scene.shape.Arc;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
import javafx.scene.shape.Ellipse;
import javafx.scene.shape.Line;
import javafx.scene.shape.Circle;
public class Emoji extends Application {
@Override
public void start(Stage stage){
Color head = Color.rgb(225,171,0);
Circle circle = new Circle(150,150,90, head);
Ellipse leftEye = new Ellipse (105,120,30,20);
Ellipse rightEye = new Ellipse (195,120,30,20);
Arc ar = new Arc(150,170,45,35,0,-180);
ar.setFill(Color.TRANSPARENT);
ar.setStroke(Color.BROWN);
ar.setStrokeWidth(5);
Line line1= new Line(80,130,110,140);
Line line2= new Line(190,140,220,130);
Group group = new Group();
group.getChildren().add(leftEye);
group.getChildren().add(rightEye);
group.getChildren().add(circle);
group.getChildren().add(ar);
group.getChildren().add(line1);
group.getChildren().add(line2);
Scene scene = new Scene(group,300,400);
stage.setScene(scene);
stage.setTitle("Emoji");
stage.show();
}
public static void main(String[] args){
launch(args);
}
(Without unicode please)
 How do I get my emoji in my java code to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!