Completed

Greeting, I'm working on a javafx program using a list view to display different movies but I get an error if I run the program, mind helping?

Code: package javaapplication3;

import [login to view URL];

import [login to view URL];

import [login to view URL];

import [login to view URL];

import [login to view URL];

import [login to view URL];

import [login to view URL];

import [login to view URL];

import [login to view URL];

import [login to view URL];

import [login to view URL];

import [login to view URL];

public class MoviePlayer extends Application {

@Override

public void start(Stage primaryStage) {

Pane pane = new Pane();

HBox hb = new HBox();

ListView list = new ListView();

[login to view URL]().addAll("ToyStory", "Frozen", "Mulan");

[login to view URL]().setSelectionMode([login to view URL]);

[login to view URL](140, 250);

[login to view URL]([login to view URL]);

Media movie1 = new Media("javaapplication3/[login to view URL]");

Media movie2 = new Media("javaapplication3/[login to view URL]");

Media movie3 = new Media("javaapplication3/[login to view URL]");

MediaPlayer mp1 = new MediaPlayer(movie1);

MediaPlayer mp2 = new MediaPlayer(movie2);

MediaPlayer mp3 = new MediaPlayer(movie3);

MediaView mv = new MediaView(mp1);

[login to view URL](400);

[login to view URL](500);

[login to view URL](new Insets(2,2,0,0));

[login to view URL]().addAll(list,mv);

[login to view URL]().addAll(hb);

[login to view URL](e->{

String value = [login to view URL]().getSelectedItem().toString();

if([login to view URL]("ToyStory")){

[login to view URL](mp1);

[login to view URL]();

[login to view URL]();

[login to view URL]();

}

if([login to view URL]("Mulan")){

[login to view URL](mp2);

[login to view URL]();

[login to view URL]();

[login to view URL]();

}

if([login to view URL]("Frozen")){

[login to view URL](mp3);

[login to view URL]();

[login to view URL]();

[login to view URL]();

}

});

Scene scene = new Scene(pane,650,300);

[login to view URL](scene);

[login to view URL]("Movie Viewer");

[login to view URL]();

}

public static void main(String[] args) {

launch(args);

}

}

-----------------------------------------------------------------------------------------------------------------------------------------

Error Message Attached Below:

Skills: Software Testing, Java, JavaFX

See more: javascript list view, joomleague team list default display number, myspace profile tracker can view display pic, list view datagridview, list view read data bse, using ftp view photos, custom field type list view, basefieldcontrol render list view, joomla calendar list view, basefieldcontrol list view, application working multidomain using vbnet, hotscripts web page show whole list view, list view window based project aspnet, webcam show using flash view, list view using xml flash, display custom attribute values magento list view, list view product display, magento display sample list view, export sharepoint list view to excel using powershell

About the Employer:
( 0 reviews ) Riyadh, Saudi Arabia

Project ID: #32073474

Awarded to:

(111 Reviews)
6.5

2 freelancers are bidding on average $23 for this job

delahoussayec

Hello, if we can give more details about your project in the chat, I think I can give you a better price. Just contact me to start work. Thanks

$25 USD in 5 days
(0 Reviews)
0.0