Skip to content
Snippets Groups Projects
Commit 042cca2d authored by J. M. Bailey's avatar J. M. Bailey
Browse files

Put proper app name in Mac screen menu

parent 1c94638a
No related branches found
No related tags found
No related merge requests found
Showing
with 28 additions and 27 deletions
No preview for this file type
......@@ -10,7 +10,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrBounce.json</exec.args>
<exec.args>-Dapple.awt.application.name=QRBounce -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrBounce.json</exec.args>
<exec.executable>java</exec.executable>
</properties>
</action>
......@@ -24,7 +24,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrBounce.json</exec.args>
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -Dapple.awt.application.name=QRBounce -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrBounce.json</exec.args>
<exec.executable>java</exec.executable>
<jpda.listen>true</jpda.listen>
</properties>
......@@ -39,7 +39,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrBounce.json</exec.args>
<exec.args>-Dapple.awt.application.name=QRBounce -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrBounce.json</exec.args>
<exec.executable>java</exec.executable>
</properties>
</action>
......
......@@ -10,7 +10,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrChat.json</exec.args>
<exec.args>-Dapple.awt.application.name=QRChat -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrChat.json</exec.args>
<exec.executable>java</exec.executable>
</properties>
</action>
......@@ -24,7 +24,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrChat.json</exec.args>
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -Dapple.awt.application.name=QRChat -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrChat.json</exec.args>
<exec.executable>java</exec.executable>
<jpda.listen>true</jpda.listen>
</properties>
......@@ -39,7 +39,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrChat.json</exec.args>
<exec.args>-Dapple.awt.application.name=QRChat -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrChat.json</exec.args>
<exec.executable>java</exec.executable>
</properties>
</action>
......
......@@ -10,7 +10,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrChatEncrypted.json</exec.args>
<exec.args>-Dapple.awt.application.name="QRChat (encrypted)" -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrChatEncrypted.json</exec.args>
<exec.executable>java</exec.executable>
</properties>
</action>
......@@ -24,7 +24,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrChatEncrypted.json</exec.args>
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -Dapple.awt.application.name="QRChat (encrypted)" -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrChatEncrypted.json</exec.args>
<exec.executable>java</exec.executable>
<jpda.listen>true</jpda.listen>
</properties>
......@@ -39,7 +39,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrChatEncrypted.json</exec.args>
<exec.args>-Dapple.awt.application.name="QRChat (encrypted)" -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main qrChatEncrypted.json</exec.args>
<exec.executable>java</exec.executable>
</properties>
</action>
......
......@@ -10,7 +10,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-classpath %classpath edu.nps.moves.qrtda.Main sailorHelper.json</exec.args>
<exec.args>-Dapple.awt.application.name="Optical Signalling TDA" -classpath %classpath edu.nps.moves.qrtda.Main sailorHelper.json</exec.args>
<exec.executable>java</exec.executable>
</properties>
</action>
......@@ -24,7 +24,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath edu.nps.moves.qrtda.Main sailorHelper.json</exec.args>
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -Dapple.awt.application.name="Optical Signalling TDA" -classpath %classpath edu.nps.moves.qrtda.Main sailorHelper.json</exec.args>
<exec.executable>java</exec.executable>
<jpda.listen>true</jpda.listen>
</properties>
......@@ -39,7 +39,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-classpath %classpath edu.nps.moves.qrtda.Main sailorHelper.json</exec.args>
<exec.args>-Dapple.awt.application.name="Optical Signalling TDA" -classpath %classpath edu.nps.moves.qrtda.Main sailorHelper.json</exec.args>
<exec.executable>java</exec.executable>
</properties>
</action>
......
......@@ -10,7 +10,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-enableassertions -classpath %classpath edu.nps.moves.qrtda.Main throughputTestReceive.json</exec.args>
<exec.args>-Dapple.awt.application.name="Throughput Test Receiver" -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main throughputTestReceive.json</exec.args>
<exec.executable>java</exec.executable>
</properties>
</action>
......@@ -24,7 +24,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main throughputTestReceive.json</exec.args>
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -Dapple.awt.application.name="Throughput Test Receiver" -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main throughputTestReceive.json</exec.args>
<exec.executable>java</exec.executable>
<jpda.listen>true</jpda.listen>
</properties>
......@@ -39,7 +39,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-enableassertions -classpath %classpath edu.nps.moves.qrtda.Main throughputTestReceive.json</exec.args>
<exec.args>-Dapple.awt.application.name="Throughput Test Receiver" -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main throughputTestReceive.json</exec.args>
<exec.executable>java</exec.executable>
</properties>
</action>
......
......@@ -10,7 +10,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-enableassertions -classpath %classpath edu.nps.moves.qrtda.Main throughputTestSend.json</exec.args>
<exec.args>-Dapple.awt.application.name="Throughput Test Sender" -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main throughputTestSend.json</exec.args>
<exec.executable>java</exec.executable>
</properties>
</action>
......@@ -24,7 +24,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main throughputTestSend.json</exec.args>
<exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -Dapple.awt.application.name="Throughput Test Sender" -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main throughputTestSend.json</exec.args>
<exec.executable>java</exec.executable>
<jpda.listen>true</jpda.listen>
</properties>
......@@ -39,7 +39,7 @@
<goal>org.codehaus.mojo:exec-maven-plugin:1.2.1:exec</goal>
</goals>
<properties>
<exec.args>-enableassertions -classpath %classpath edu.nps.moves.qrtda.Main throughputTestSend.json</exec.args>
<exec.args>-Dapple.awt.application.name="Throughput Test Sender" -enableassertions -classpath %classpath edu.nps.moves.qrtda.Main throughputTestSend.json</exec.args>
<exec.executable>java</exec.executable>
</properties>
</action>
......
......@@ -65,7 +65,7 @@ public class Main
private static Logger logger;
public static void main(String[] args)
public static void main(String[] args)
{
setLaF();
checkForHiRezTablet();
......
......@@ -83,7 +83,8 @@ public class OpticalCommsWindow extends JFrame implements OpticalCommsIO
eventHandlersOn = false;
initComponents();
super.setTitle(WINDOWTITLE);
super.setTitle(WINDOWTITLE);
super.getRootPane().setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
modeCombo.setSelectedItem(env.getOptionValue(SAILORMEDIUM));
......
#!/bin/bash
#
cd -- "$(dirname "$BASH_SOURCE")"
java -cp QRCodeTacticalDecisionAid-2.0-jar-with-dependencies.jar edu.nps.moves.qrtda.Main qrBounce.json
java -cp QRCodeTacticalDecisionAid-2.0-jar-with-dependencies.jar -Dapple.awt.application.name=QRBounce edu.nps.moves.qrtda.Main qrBounce.json
#!/bin/bash
#
cd -- "$(dirname "$BASH_SOURCE")"
java -cp QRCodeTacticalDecisionAid-2.0-jar-with-dependencies.jar edu.nps.moves.qrtda.Main qrChat.json
\ No newline at end of file
java -cp QRCodeTacticalDecisionAid-2.0-jar-with-dependencies.jar -Dapple.awt.application.name=QRChat edu.nps.moves.qrtda.Main qrChat.json
\ No newline at end of file
#!/bin/bash
#
cd -- "$(dirname "$BASH_SOURCE")"
java -cp QRCodeTacticalDecisionAid-2.0-jar-with-dependencies.jar edu.nps.moves.qrtda.Main qrChatEncrypted.json
\ No newline at end of file
java -cp QRCodeTacticalDecisionAid-2.0-jar-with-dependencies.jar -Dapple.awt.application.name="QRChat (encrypted)" edu.nps.moves.qrtda.Main qrChatEncrypted.json
\ No newline at end of file
#!/bin/bash
#
cd -- "$(dirname "$BASH_SOURCE")"
java -cp QRCodeTacticalDecisionAid-2.0-jar-with-dependencies.jar edu.nps.moves.qrtda.Main sailorHelper.json
\ No newline at end of file
java -cp QRCodeTacticalDecisionAid-2.0-jar-with-dependencies.jar -Dapple.awt.application.name="Optical Signalling TDA" edu.nps.moves.qrtda.Main sailorHelper.json
\ No newline at end of file
#!/bin/bash
#
cd -- "$(dirname "$BASH_SOURCE")"
java -cp QRCodeTacticalDecisionAid-2.0-jar-with-dependencies.jar edu.nps.moves.qrtda.Main signalFlagsDecoder.json
java -cp QRCodeTacticalDecisionAid-2.0-jar-with-dependencies.jar -Dapple.awt.application.name="Signal Flags Decoder" edu.nps.moves.qrtda.Main signalFlagsDecoder.json
#!/bin/bash
#
cd -- "$(dirname "$BASH_SOURCE")"
java -cp QRCodeTacticalDecisionAid-2.0-jar-with-dependencies.jar edu.nps.moves.qrtda.Main throughputTestReceive.json
\ No newline at end of file
java -cp QRCodeTacticalDecisionAid-2.0-jar-with-dependencies.jar -Dapple.awt.application.name="Throughput Test Receiver" edu.nps.moves.qrtda.Main throughputTestReceive.json
\ No newline at end of file
#!/bin/bash
#
cd -- "$(dirname "$BASH_SOURCE")"
java -cp QRCodeTacticalDecisionAid-2.0-jar-with-dependencies.jar edu.nps.moves.qrtda.Main throughputTestSend.json
\ No newline at end of file
java -cp QRCodeTacticalDecisionAid-2.0-jar-with-dependencies.jar -Dapple.awt.application.name="Throughput Test Sender" edu.nps.moves.qrtda.Main throughputTestSend.json
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment