Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tanvir10029 committed May 13, 2021
2 parents d9f22c3 + d205a90 commit b0a1336
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions Expedia/src/application/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void start(Stage primaryStage)

//DepartTimes
GridPane right = new GridPane();
Label lb1 = new Label("Depart Times: "
Label lb1 = new Label("Depart Times and Price: "
+ " ");
right.setMinWidth(200);
right.setMaxWidth(200);
Expand Down Expand Up @@ -134,19 +134,11 @@ public void start(Stage primaryStage)
{
String strSTA = startLocTF.getValue();
String strEND = endLocTF.getValue();

System.out.println(strEND);
if(strEND =="Miami")
{
//waiting.setText("Select One Time");
times1.setText("11:30 AM\n");
times2.setText("12:20 PM\n");
times3.setText("1:15 PM");
}
else
{
waiting.setText( "1");
}
waiting.setText("Select One Time");
times1.setText("11:30 AM - $150\n");
times2.setText("12:20 PM - $230\n");
times3.setText("1:15 PM - $275");

//fileIO locLog = new fileIO();
//locLog.writeToFile(strSTA, strEND);

Expand Down

0 comments on commit b0a1336

Please sign in to comment.