diff --git a/cauwersin/cauwersin-manifest.txt b/cauwersin/cauwersin-manifest.txt new file mode 100644 index 0000000..2f76d1e --- /dev/null +++ b/cauwersin/cauwersin-manifest.txt @@ -0,0 +1,3 @@ +Permissions: all-permissions +Codebase: https://blog.cauwersin.com/sesim/sesim +Application-Name: SeSim diff --git a/cauwersin/cauwersinca.crt b/cauwersin/cauwersinca.crt new file mode 100644 index 0000000..e806d95 Binary files /dev/null and b/cauwersin/cauwersinca.crt differ diff --git a/cauwersin/mkuws b/cauwersin/mkuws new file mode 100755 index 0000000..27046c2 --- /dev/null +++ b/cauwersin/mkuws @@ -0,0 +1,4 @@ +#!/bin/sh +cp ../store/SeSim.jar ./uSeSim.jar +scp -oPort=8022 uSeSim.jar root@blog.cauwersin.com:/usr/local/www/wp7u83/sesim/uSeSim.jar + diff --git a/cauwersin/mkws b/cauwersin/mkws new file mode 100755 index 0000000..24bb99d --- /dev/null +++ b/cauwersin/mkws @@ -0,0 +1,13 @@ +#!/bin/sh + +CODEBASE=/home/tube/NetbeanProjects/SeSim/cauwersin + +ant -f ../build.xml single-jar +cp ../store/SeSim.jar . +jar ufm SeSim.jar cauwersin-manifest.txt +jarsigner -keystore /home/tube/SparkleShare/sfiles/keystore SeSim.jar Cauwersin +keytool -export -keystore /home/tube/SparkleShare/sfiles/keystore -alias Cauwersin -file cauwersinca.crt + +scp -oPort=8022 sesim.jnlp root@blog.cauwersin.com:/usr/local/www/wp7u83/sesim/sesim.jnlp +scp -oPort=8022 cauwersinca.crt root@blog.cauwersin.com:/usr/local/www/wp7u83/sesim/cauwersinca.crt +scp -oPort=8022 SeSim.jar root@blog.cauwersin.com:/usr/local/www/wp7u83/sesim/SeSim.jar diff --git a/cauwersin/sesim.jnlp b/cauwersin/sesim.jnlp new file mode 100644 index 0000000..267d529 --- /dev/null +++ b/cauwersin/sesim.jnlp @@ -0,0 +1,20 @@ + + + + SeSim + Cauwersin + + SeSim - Stock Exchange Simulator + SeSim + + + + + + + + + + + + diff --git a/nbproject/project.properties b/nbproject/project.properties index da4a492..5be4eab 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -1,4 +1,4 @@ -#Sat, 25 Mar 2017 19:09:34 +0100 +#Sun, 26 Mar 2017 14:28:26 +0100 annotation.processing.enabled=true annotation.processing.enabled.in.editor=false annotation.processing.processors.list= @@ -60,8 +60,8 @@ jnlp.applet.height=300 jnlp.applet.width=300 jnlp.codebase.type=user jnlp.codebase.url=$$$$codebase -jnlp.codebase.user= -jnlp.descriptor=application +jnlp.codebase.user=file\:/home/tube/NetBeansProjects/SeSim/dist* +jnlp.descriptor=component jnlp.enabled=false jnlp.icon= jnlp.mixed.code=default diff --git a/src/gui/AboutDialog.form b/src/gui/AboutDialog.form index 48a2d59..a6455c8 100644 --- a/src/gui/AboutDialog.form +++ b/src/gui/AboutDialog.form @@ -27,23 +27,17 @@ - - - - - - - - + + + - - + @@ -67,13 +61,14 @@ - + + diff --git a/src/gui/AboutDialog.java b/src/gui/AboutDialog.java index 1205389..575e472 100644 --- a/src/gui/AboutDialog.java +++ b/src/gui/AboutDialog.java @@ -58,9 +58,10 @@ public class AboutDialog extends javax.swing.JDialog { jTextPane1.setEditable(false); jTextPane1.setFont(jTextPane1.getFont()); - jTextPane1.setText("/*\n * Copyright (c) 2017, 7u83 <7u83@mail.ru>\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * * Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n * * Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation\n * and/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n */"); + jTextPane1.setText("SeSim - Sock Exchange Simulator - Version 0.1\n\n\nCopyright (c) 2017, 7u83 <7u83@mail.ru>\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"); jScrollPane1.setViewportView(jTextPane1); + jButton1.setMnemonic('c'); jButton1.setText("Close"); jButton1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { @@ -73,19 +74,15 @@ public class AboutDialog extends javax.swing.JDialog { layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() - .addContainerGap() - .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 603, Short.MAX_VALUE) - .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() - .addGap(0, 0, Short.MAX_VALUE) - .addComponent(jButton1))) + .addContainerGap(547, Short.MAX_VALUE) + .addComponent(jButton1) .addContainerGap()) + .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() - .addContainerGap() - .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 466, Short.MAX_VALUE) + .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 472, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap())