diff --git a/src/main/java/seng302/App.java b/src/main/java/seng302/App.java index a169bd55..a3d5f49f 100644 --- a/src/main/java/seng302/App.java +++ b/src/main/java/seng302/App.java @@ -63,9 +63,9 @@ public class App extends Application { } //Change the StreamReceiver in this else block to change the default data source. else{ - sr = new StreamReceiver("localhost", 4949, "RaceStream"); +// sr = new StreamReceiver("localhost", 4949, "RaceStream"); // sr = new StreamReceiver("csse-s302staff.canterbury.ac.nz", 4941, "RaceStream"); -// sr = new StreamReceiver("livedata.americascup.com", 4941, "RaceStream"); + sr = new StreamReceiver("livedata.americascup.com", 4941, "RaceStream"); } sr.start(); diff --git a/src/main/java/seng302/fxObjects/BoatAnnotations.java b/src/main/java/seng302/fxObjects/BoatAnnotations.java index cbff71b9..b8f2a031 100644 --- a/src/main/java/seng302/fxObjects/BoatAnnotations.java +++ b/src/main/java/seng302/fxObjects/BoatAnnotations.java @@ -45,7 +45,7 @@ class BoatAnnotations extends Group{ background.setHeight(Math.abs(BACKGROUND_X) + TEXT_BUFFER + BACKGROUND_H_PER_TEXT * 4); background.setArcHeight(BACKGROUND_ARC_SIZE); background.setArcWidth(BACKGROUND_ARC_SIZE); - background.setFill(new Color(1, 1, 1, 0.5)); + background.setFill(new Color(1, 1, 1, 0.75)); background.setStroke(theme); background.setStrokeWidth(2); background.setCache(true); @@ -76,6 +76,7 @@ class BoatAnnotations extends Group{ private Text getTextObject(String defaultText, Color fill) { Text text = new Text(defaultText); text.setFill(fill); + text.setStrokeWidth(2); text.setCacheHint(CacheHint.SPEED); text.setCache(true); return text;