From 6126d6c7d9e20e4c29be9d98b83d339124f5782a Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Fri, 1 Mar 2019 11:38:32 -0600 Subject: [PATCH] Adjust splash screen to acknowledge community contribution. --- VUE2/src/main/java/tufts/vue/SplashScreen.java | 12 ++++++++---- .../main/resources/tufts/vue/VueResources.properties | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/VUE2/src/main/java/tufts/vue/SplashScreen.java b/VUE2/src/main/java/tufts/vue/SplashScreen.java index 01d648317e..d67dae1cf6 100755 --- a/VUE2/src/main/java/tufts/vue/SplashScreen.java +++ b/VUE2/src/main/java/tufts/vue/SplashScreen.java @@ -75,14 +75,18 @@ private void createSplash() { splashProp = "splashScreenNoTransparency"; ImageIcon icon = new ImageIcon(VueResources.getURL(splashProp)) { public void paintIcon(Component c, Graphics g, int x, int y) { - Calendar calendar = new GregorianCalendar(); super.paintIcon(c,g,x,y); g.setColor(charcoal); g.setFont(new Font("Verdana", Font.PLAIN, 11)); g.drawString(VueResources.getString("splashscreen.title"),172,165); - g.drawString(VueResources.getString("splashscreen.developedby"),202,185); - g.drawString((char)169+" "+VueResources.getString("vue.build.date")+" Tufts University", 240,205); - g.drawString("Version "+VueResources.getString("vue.version"),95,215); + + final int leftX = 100; + final int topY = 190; + final int lineSpacing = 15; + g.drawString(VueResources.getString("splashscreen.developedby"), leftX, topY); + g.drawString((char) 169 + " " + VueResources.getString("vue.build.date") + + " Tufts University and Contributors", leftX, topY + lineSpacing); + g.drawString("Version " + VueResources.getString("vue.version"), leftX , topY + 2 * lineSpacing); } }; diff --git a/VUE2/src/main/resources/tufts/vue/VueResources.properties b/VUE2/src/main/resources/tufts/vue/VueResources.properties index ac1c07a2ca..aae920943d 100755 --- a/VUE2/src/main/resources/tufts/vue/VueResources.properties +++ b/VUE2/src/main/resources/tufts/vue/VueResources.properties @@ -738,7 +738,7 @@ button.resetallstyle.label=Reset All Slide Styles #SplashScreen splashscreen.title=VISUAL UNDERSTANDING ENVIRONMENT -splashscreen.developedby=Developed by Academic Technology +splashscreen.developedby=Developed by Academic Technology and the Community #SyncDialog jbutton.nodetoslide.label=from node to slide