From e8d7e22257339c2de077cd4825a3e4d97d49fe79 Mon Sep 17 00:00:00 2001 From: Kevin harrington Date: Tue, 7 Jan 2025 22:51:54 -0500 Subject: [PATCH] Updating the splash icon! --- BowlerStudio | 2 +- src/main/java/com/commonwealthrobotics/Main.java | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/BowlerStudio b/BowlerStudio index 2ad35f3..77ec736 160000 --- a/BowlerStudio +++ b/BowlerStudio @@ -1 +1 @@ -Subproject commit 2ad35f38bd16a212ff49594c70d086bc670fa30c +Subproject commit 77ec736e3430fb1e77c4ac3b4c799244e67a4dc3 diff --git a/src/main/java/com/commonwealthrobotics/Main.java b/src/main/java/com/commonwealthrobotics/Main.java index b812f61..87907e0 100644 --- a/src/main/java/com/commonwealthrobotics/Main.java +++ b/src/main/java/com/commonwealthrobotics/Main.java @@ -3,6 +3,7 @@ */ package com.commonwealthrobotics; +import java.awt.Color; import java.awt.GraphicsEnvironment; import java.io.File; import java.io.IOException; @@ -122,6 +123,20 @@ public static void main(String[] args) { } } PsudoSplash.setResource(Main.class.getResource("SourceIcon.png")); + PsudoSplash.setTrayIcon(Main.class.getResource("CADoodle-Icon.png")); + + PsudoSplash.setTextColor(Color.BLACK); + PsudoSplash.setVersionX(700); + PsudoSplash.setVersionY(120); + + + PsudoSplash.setLogX(500); + PsudoSplash.setLogY(400); + + PsudoSplash.setMessageX(500); + PsudoSplash.setMessageY(250); + + SplashManager.renderSplashFrame(1, "Main Window Show"); setUpApprovalWindow(); ScriptingEngine.setAppName("CaDoodle");