1.1 --- a/java/Postak/nbproject/build-impl.xml Sat Feb 28 17:56:24 2009 +0100
1.2 +++ b/java/Postak/nbproject/build-impl.xml Sat Feb 28 17:57:14 2009 +0100
1.3 @@ -152,7 +152,7 @@
1.4 <attribute default="${includes}" name="includes"/>
1.5 <attribute default="${excludes}" name="excludes"/>
1.6 <attribute default="${javac.debug}" name="debug"/>
1.7 - <attribute default="" name="sourcepath"/>
1.8 + <attribute default="/does/not/exist" name="sourcepath"/>
1.9 <element name="customize" optional="true"/>
1.10 <sequential>
1.11 <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}">
1.12 @@ -218,13 +218,13 @@
1.13 </sequential>
1.14 </macrodef>
1.15 </target>
1.16 - <target name="-init-macrodef-nbjpda">
1.17 + <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
1.18 <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
1.19 <attribute default="${main.class}" name="name"/>
1.20 <attribute default="${debug.classpath}" name="classpath"/>
1.21 <attribute default="" name="stopclassname"/>
1.22 <sequential>
1.23 - <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="dt_socket">
1.24 + <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
1.25 <classpath>
1.26 <path path="@{classpath}"/>
1.27 </classpath>
1.28 @@ -255,6 +255,12 @@
1.29 <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
1.30 <istrue value="${have-jdk-older-than-1.4}"/>
1.31 </condition>
1.32 + <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
1.33 + <os family="windows"/>
1.34 + </condition>
1.35 + <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
1.36 + <isset property="debug.transport"/>
1.37 + </condition>
1.38 </target>
1.39 <target depends="-init-debug-args" name="-init-macrodef-debug">
1.40 <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
1.41 @@ -264,7 +270,7 @@
1.42 <sequential>
1.43 <java classname="@{classname}" dir="${work.dir}" fork="true">
1.44 <jvmarg line="${debug-args-line}"/>
1.45 - <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
1.46 + <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
1.47 <jvmarg line="${run.jvmargs}"/>
1.48 <classpath>
1.49 <path path="@{classpath}"/>
1.50 @@ -311,6 +317,13 @@
1.51 ===================
1.52 -->
1.53 <target depends="init" name="deps-jar" unless="no.deps"/>
1.54 + <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
1.55 + <target depends="init" name="-check-automatic-build">
1.56 + <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
1.57 + </target>
1.58 + <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
1.59 + <antcall target="clean"/>
1.60 + </target>
1.61 <target depends="init,deps-jar" name="-pre-pre-compile">
1.62 <mkdir dir="${build.classes.dir}"/>
1.63 </target>
1.64 @@ -331,7 +344,7 @@
1.65 <!-- Empty placeholder for easier customization. -->
1.66 <!-- You can override this target in the ../build.xml file. -->
1.67 </target>
1.68 - <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
1.69 + <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
1.70 <target name="-pre-compile-single">
1.71 <!-- Empty placeholder for easier customization. -->
1.72 <!-- You can override this target in the ../build.xml file. -->
1.73 @@ -345,7 +358,7 @@
1.74 <!-- Empty placeholder for easier customization. -->
1.75 <!-- You can override this target in the ../build.xml file. -->
1.76 </target>
1.77 - <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
1.78 + <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
1.79 <!--
1.80 ====================
1.81 JAR BUILDING SECTION
2.1 --- a/java/Postak/nbproject/genfiles.properties Sat Feb 28 17:56:24 2009 +0100
2.2 +++ b/java/Postak/nbproject/genfiles.properties Sat Feb 28 17:57:14 2009 +0100
2.3 @@ -1,8 +1,8 @@
2.4 build.xml.data.CRC32=ecce8ba0
2.5 -build.xml.script.CRC32=b613dcff
2.6 -build.xml.stylesheet.CRC32=be360661
2.7 +build.xml.script.CRC32=e861f380
2.8 +build.xml.stylesheet.CRC32=958a1d3e
2.9 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
2.10 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
2.11 nbproject/build-impl.xml.data.CRC32=ecce8ba0
2.12 -nbproject/build-impl.xml.script.CRC32=38f4cab2
2.13 -nbproject/build-impl.xml.stylesheet.CRC32=487672f9
2.14 +nbproject/build-impl.xml.script.CRC32=a6ef0080
2.15 +nbproject/build-impl.xml.stylesheet.CRC32=65b8de21
3.1 --- a/java/Postak/nbproject/private/private.properties Sat Feb 28 17:56:24 2009 +0100
3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
3.3 @@ -1,6 +0,0 @@
3.4 -do.depend=false
3.5 -do.jar=true
3.6 -javac.debug=true
3.7 -javadoc.preview=true
3.8 -jaxws.endorsed.dir=/usr/local/netbeans-6.1/java2/modules/ext/jaxws21/api
3.9 -user.properties.file=/home/fiki/.netbeans/6.1/build.properties
4.1 --- a/java/SuperPostak/nbproject/build-impl.xml Sat Feb 28 17:56:24 2009 +0100
4.2 +++ b/java/SuperPostak/nbproject/build-impl.xml Sat Feb 28 17:57:14 2009 +0100
4.3 @@ -153,7 +153,7 @@
4.4 <attribute default="${includes}" name="includes"/>
4.5 <attribute default="${excludes}" name="excludes"/>
4.6 <attribute default="${javac.debug}" name="debug"/>
4.7 - <attribute default="" name="sourcepath"/>
4.8 + <attribute default="/does/not/exist" name="sourcepath"/>
4.9 <element name="customize" optional="true"/>
4.10 <sequential>
4.11 <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}">
4.12 @@ -219,13 +219,13 @@
4.13 </sequential>
4.14 </macrodef>
4.15 </target>
4.16 - <target name="-init-macrodef-nbjpda">
4.17 + <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
4.18 <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
4.19 <attribute default="${main.class}" name="name"/>
4.20 <attribute default="${debug.classpath}" name="classpath"/>
4.21 <attribute default="" name="stopclassname"/>
4.22 <sequential>
4.23 - <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="dt_socket">
4.24 + <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
4.25 <classpath>
4.26 <path path="@{classpath}"/>
4.27 </classpath>
4.28 @@ -256,6 +256,12 @@
4.29 <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
4.30 <istrue value="${have-jdk-older-than-1.4}"/>
4.31 </condition>
4.32 + <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
4.33 + <os family="windows"/>
4.34 + </condition>
4.35 + <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
4.36 + <isset property="debug.transport"/>
4.37 + </condition>
4.38 </target>
4.39 <target depends="-init-debug-args" name="-init-macrodef-debug">
4.40 <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
4.41 @@ -265,7 +271,7 @@
4.42 <sequential>
4.43 <java classname="@{classname}" dir="${work.dir}" fork="true">
4.44 <jvmarg line="${debug-args-line}"/>
4.45 - <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
4.46 + <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
4.47 <jvmarg line="${run.jvmargs}"/>
4.48 <classpath>
4.49 <path path="@{classpath}"/>
4.50 @@ -315,6 +321,13 @@
4.51 <ant antfile="${project.JFTable}/build.xml" inheritall="false" target="jar"/>
4.52 <ant antfile="${project.Postak}/build.xml" inheritall="false" target="jar"/>
4.53 </target>
4.54 + <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
4.55 + <target depends="init" name="-check-automatic-build">
4.56 + <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
4.57 + </target>
4.58 + <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
4.59 + <antcall target="clean"/>
4.60 + </target>
4.61 <target depends="init,deps-jar" name="-pre-pre-compile">
4.62 <mkdir dir="${build.classes.dir}"/>
4.63 </target>
4.64 @@ -335,7 +348,7 @@
4.65 <!-- Empty placeholder for easier customization. -->
4.66 <!-- You can override this target in the ../build.xml file. -->
4.67 </target>
4.68 - <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
4.69 + <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
4.70 <target name="-pre-compile-single">
4.71 <!-- Empty placeholder for easier customization. -->
4.72 <!-- You can override this target in the ../build.xml file. -->
4.73 @@ -349,7 +362,7 @@
4.74 <!-- Empty placeholder for easier customization. -->
4.75 <!-- You can override this target in the ../build.xml file. -->
4.76 </target>
4.77 - <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
4.78 + <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
4.79 <!--
4.80 ====================
4.81 JAR BUILDING SECTION
5.1 --- a/java/SuperPostak/nbproject/genfiles.properties Sat Feb 28 17:56:24 2009 +0100
5.2 +++ b/java/SuperPostak/nbproject/genfiles.properties Sat Feb 28 17:57:14 2009 +0100
5.3 @@ -1,8 +1,8 @@
5.4 build.xml.data.CRC32=d917048a
5.5 -build.xml.script.CRC32=bda184ca
5.6 -build.xml.stylesheet.CRC32=be360661
5.7 +build.xml.script.CRC32=7b671108
5.8 +build.xml.stylesheet.CRC32=958a1d3e
5.9 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
5.10 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
5.11 nbproject/build-impl.xml.data.CRC32=d917048a
5.12 -nbproject/build-impl.xml.script.CRC32=5446e5b9
5.13 -nbproject/build-impl.xml.stylesheet.CRC32=487672f9
5.14 +nbproject/build-impl.xml.script.CRC32=957eb65c
5.15 +nbproject/build-impl.xml.stylesheet.CRC32=65b8de21
6.1 --- a/java/SuperPostak/nbproject/private/private.properties Sat Feb 28 17:56:24 2009 +0100
6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
6.3 @@ -1,8 +0,0 @@
6.4 -do.depend=false
6.5 -do.jar=true
6.6 -javac.debug=true
6.7 -javadoc.preview=true
6.8 -jaxws.endorsed.dir=/home/fiki/bin/netbeans-6.1/java2/modules/ext/jaxws21/api
6.9 -project.JFTable=/home/fiki/subversion/JFTable/trunk/java/JFTable
6.10 -project.Postak=/home/fiki/subversion/SuperPostak/trunk/java/Postak
6.11 -user.properties.file=/home/fiki/.netbeans/6.1/build.properties
7.1 --- a/java/SuperPostak/nbproject/private/private.xml Sat Feb 28 17:56:24 2009 +0100
7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
7.3 @@ -1,4 +0,0 @@
7.4 -<?xml version="1.0" encoding="UTF-8"?>
7.5 -<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
7.6 - <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
7.7 -</project-private>
8.1 --- a/java/SuperPostak/src/cz/frantovo/superPostak/Data.java Sat Feb 28 17:56:24 2009 +0100
8.2 +++ b/java/SuperPostak/src/cz/frantovo/superPostak/Data.java Sat Feb 28 17:57:14 2009 +0100
8.3 @@ -1,7 +1,3 @@
8.4 -/*
8.5 - * To change this template, choose Tools | Templates
8.6 - * and open the template in the editor.
8.7 - */
8.8 package cz.frantovo.superPostak;
8.9
8.10 import java.security.MessageDigest;
9.1 --- a/java/SuperPostak/src/cz/frantovo/superPostak/DataSQL.java Sat Feb 28 17:56:24 2009 +0100
9.2 +++ b/java/SuperPostak/src/cz/frantovo/superPostak/DataSQL.java Sat Feb 28 17:57:14 2009 +0100
9.3 @@ -1,7 +1,3 @@
9.4 -/*
9.5 - * To change this template, choose Tools | Templates
9.6 - * and open the template in the editor.
9.7 - */
9.8 package cz.frantovo.superPostak;
9.9
9.10 import cz.frantovo.postak.InternetAddressKomu;
10.1 --- a/java/SuperPostak/src/cz/frantovo/superPostak/GrafPokus.form Sat Feb 28 17:56:24 2009 +0100
10.2 +++ b/java/SuperPostak/src/cz/frantovo/superPostak/GrafPokus.form Sat Feb 28 17:57:14 2009 +0100
10.3 @@ -10,6 +10,7 @@
10.4 <AuxValues>
10.5 <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
10.6 <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
10.7 + <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
10.8 <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
10.9 <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
10.10 <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
10.11 @@ -44,12 +45,12 @@
10.12 <Layout>
10.13 <DimensionLayout dim="0">
10.14 <Group type="103" groupAlignment="0" attributes="0">
10.15 - <EmptySpace min="0" pref="465" max="32767" attributes="0"/>
10.16 + <EmptySpace min="0" pref="400" max="32767" attributes="0"/>
10.17 </Group>
10.18 </DimensionLayout>
10.19 <DimensionLayout dim="1">
10.20 <Group type="103" groupAlignment="0" attributes="0">
10.21 - <EmptySpace min="0" pref="422" max="32767" attributes="0"/>
10.22 + <EmptySpace min="0" pref="400" max="32767" attributes="0"/>
10.23 </Group>
10.24 </DimensionLayout>
10.25 </Layout>
11.1 --- a/java/SuperPostak/src/cz/frantovo/superPostak/GrafPokus.java Sat Feb 28 17:56:24 2009 +0100
11.2 +++ b/java/SuperPostak/src/cz/frantovo/superPostak/GrafPokus.java Sat Feb 28 17:57:14 2009 +0100
11.3 @@ -10,10 +10,11 @@
11.4 import org.jdesktop.swingx.JXGraph.Plot;
11.5
11.6 /**
11.7 - *
11.8 + * Tohle sem nepatří ;-)
11.9 * @author fiki
11.10 */
11.11 public class GrafPokus extends javax.swing.JFrame {
11.12 + private static final long serialVersionUID = 5745756301932587174L;
11.13
11.14 /** Creates new form GrafPokus */
11.15 public GrafPokus() {
12.1 --- a/java/SuperPostak/src/cz/frantovo/superPostak/PanelPrijemcu.form Sat Feb 28 17:56:24 2009 +0100
12.2 +++ b/java/SuperPostak/src/cz/frantovo/superPostak/PanelPrijemcu.form Sat Feb 28 17:57:14 2009 +0100
12.3 @@ -4,6 +4,7 @@
12.4 <AuxValues>
12.5 <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
12.6 <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
12.7 + <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
12.8 <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
12.9 <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
12.10 <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
12.11 @@ -26,7 +27,7 @@
12.12 <Component id="pridat" min="-2" max="-2" attributes="0"/>
12.13 <EmptySpace max="-2" attributes="0"/>
12.14 </Group>
12.15 - <Component id="jScrollPane1" alignment="0" pref="410" max="32767" attributes="0"/>
12.16 + <Component id="jScrollPane1" alignment="0" pref="421" max="32767" attributes="0"/>
12.17 </Group>
12.18 </DimensionLayout>
12.19 <DimensionLayout dim="1">
13.1 --- a/java/SuperPostak/src/cz/frantovo/superPostak/PanelPrijemcu.java Sat Feb 28 17:56:24 2009 +0100
13.2 +++ b/java/SuperPostak/src/cz/frantovo/superPostak/PanelPrijemcu.java Sat Feb 28 17:57:14 2009 +0100
13.3 @@ -27,6 +27,7 @@
13.4 public class PanelPrijemcu extends javax.swing.JPanel {
13.5
13.6 private static Logger log = Logger.getLogger(PanelPrijemcu.class.getName());
13.7 + private static final long serialVersionUID = -8981943048392428523L;
13.8 private ModelTabulky data = new ModelTabulky();
13.9
13.10 /** Creates new form PanelPrijemcu */
13.11 @@ -265,6 +266,7 @@
13.12 private cz.frantovo.gui.tabulky.JTable tabulka;
13.13 private javax.swing.JButton ulozit;
13.14 // End of variables declaration//GEN-END:variables
13.15 +
13.16 private class ModelTabulky implements TableModel {
13.17
13.18 private String[] sloupecky = {"Jméno", "e-mail"};
14.1 --- a/java/SuperPostak/src/cz/frantovo/superPostak/SuperPostak.form Sat Feb 28 17:56:24 2009 +0100
14.2 +++ b/java/SuperPostak/src/cz/frantovo/superPostak/SuperPostak.form Sat Feb 28 17:57:14 2009 +0100
14.3 @@ -739,6 +739,7 @@
14.4 <AuxValues>
14.5 <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
14.6 <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
14.7 + <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
14.8 <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
14.9 <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
14.10 <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
15.1 --- a/java/SuperPostak/src/cz/frantovo/superPostak/SuperPostak.java Sat Feb 28 17:56:24 2009 +0100
15.2 +++ b/java/SuperPostak/src/cz/frantovo/superPostak/SuperPostak.java Sat Feb 28 17:57:14 2009 +0100
15.3 @@ -32,13 +32,11 @@
15.4 import javax.swing.JDialog;
15.5 import javax.swing.JOptionPane;
15.6 import javax.swing.JTextArea;
15.7 -import javax.swing.LookAndFeel;
15.8 import javax.swing.UIManager;
15.9 import javax.swing.UnsupportedLookAndFeelException;
15.10 import org.jdesktop.swingx.JXErrorPane;
15.11 import org.jdesktop.swingx.JXTaskPaneContainer;
15.12 import org.jdesktop.swingx.error.ErrorInfo;
15.13 -import org.jvnet.substance.skin.SubstanceBusinessBlueSteelLookAndFeel;
15.14
15.15 /**
15.16 *
15.17 @@ -52,6 +50,7 @@
15.18 private static final String NASTAVENI_SLOZKA = ".SuperPostak";
15.19 private static final String DOMACI_ADRESAR = System.getProperty("user.home");
15.20 private static Logger log = Logger.getLogger(SuperPostak.class.getName());
15.21 + private static final long serialVersionUID = -7026850569575604048L;
15.22 private Nastaveni nastaveni = new Nastaveni();
15.23 private Postak postak = new Postak(nastaveni);
15.24
15.25 @@ -81,7 +80,7 @@
15.26 if (ladit) {
15.27 nastavLadiciHodnoty();
15.28 }
15.29 -
15.30 +
15.31 if (exit) {
15.32 setDefaultCloseOperation(EXIT_ON_CLOSE);
15.33 }
15.34 @@ -918,7 +917,6 @@
15.35 pack();
15.36 }// </editor-fold>//GEN-END:initComponents
15.37 private void vstupPredmetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_vstupPredmetActionPerformed
15.38 -
15.39 }//GEN-LAST:event_vstupPredmetActionPerformed
15.40
15.41 private void lnTextActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_lnTextActionPerformed
15.42 @@ -1019,7 +1017,7 @@
15.43 zobrazInformacniDialog("Odesláno", "Zkušební zpráva byla odeslána.\nPočet adresátů: " + zprava.getPrijemci().size(), true);
15.44 } catch (Exception e) {
15.45 zobrazChybovyDialog("Zkušební zprávu se nepodařilo odeslat", e, Level.SEVERE, true);
15.46 - }
15.47 + }
15.48 }//GEN-LAST:event_rozeslatZkusebniTlacitkoActionPerformed
15.49
15.50 private void vyzkousetPripojeniTlacitkoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_vyzkousetPripojeniTlacitkoActionPerformed
15.51 @@ -1138,7 +1136,7 @@
15.52 public static void main(String args[]) {
15.53 final boolean ladit = (args != null && args.length > 0 && args[0].equals("ladit"));
15.54
15.55 - /**try {
15.56 + try {
15.57 //LookAndFeel laf = UIManager.getLookAndFeel();
15.58
15.59 //laf = new SubstanceLookAndFeel();
15.60 @@ -1155,14 +1153,14 @@
15.61 log.log(Level.SEVERE, null, ex);
15.62 } catch (UnsupportedLookAndFeelException ex) {
15.63 log.log(Level.SEVERE, null, ex);
15.64 - } */
15.65 + }
15.66
15.67 java.awt.EventQueue.invokeLater(new Runnable() {
15.68
15.69 public void run() {
15.70 new SuperPostak(ladit, true).setVisible(true);
15.71 }
15.72 - });
15.73 + });
15.74 }
15.75 // Variables declaration - do not modify//GEN-BEGIN:variables
15.76 private javax.swing.JLabel jLabel1;
16.1 --- a/java/SuperPostak/src/cz/frantovo/superPostak/ZobrazovacAdres.form Sat Feb 28 17:56:24 2009 +0100
16.2 +++ b/java/SuperPostak/src/cz/frantovo/superPostak/ZobrazovacAdres.form Sat Feb 28 17:57:14 2009 +0100
16.3 @@ -11,6 +11,7 @@
16.4 <AuxValues>
16.5 <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
16.6 <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
16.7 + <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
16.8 <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
16.9 <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
16.10 <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
17.1 --- a/java/SuperPostak/src/cz/frantovo/superPostak/ZobrazovacAdres.java Sat Feb 28 17:56:24 2009 +0100
17.2 +++ b/java/SuperPostak/src/cz/frantovo/superPostak/ZobrazovacAdres.java Sat Feb 28 17:57:14 2009 +0100
17.3 @@ -1,9 +1,3 @@
17.4 -/*
17.5 - * ZobrazovacAdres.java
17.6 - *
17.7 - * Created on 18. únor 2008, 0:13
17.8 - */
17.9 -
17.10 package cz.frantovo.superPostak;
17.11
17.12 import cz.frantovo.postak.InternetAddressKomu;
17.13 @@ -14,18 +8,20 @@
17.14 * @author fiki
17.15 */
17.16 public class ZobrazovacAdres extends javax.swing.JDialog {
17.17 -
17.18 +
17.19 + private static final long serialVersionUID = 5084215476284985170L;
17.20 +
17.21 /** Creates new form ZobrazovacAdres */
17.22 public ZobrazovacAdres(java.awt.Frame parent, boolean modal) {
17.23 super(parent, modal);
17.24 initComponents();
17.25 - panelAdres.setEditovatelny(false);
17.26 + panelAdres.setEditovatelny(false);
17.27 }
17.28 -
17.29 +
17.30 public void setAdresy(Collection<InternetAddressKomu> adresy) {
17.31 panelAdres.setAdresy(adresy);
17.32 - }
17.33 -
17.34 + }
17.35 +
17.36 /** This method is called from within the constructor to
17.37 * initialize the form.
17.38 * WARNING: Do NOT modify this code. The content of this method is
17.39 @@ -52,15 +48,18 @@
17.40
17.41 pack();
17.42 }// </editor-fold>//GEN-END:initComponents
17.43 -
17.44 +
17.45 /**
17.46 * @param args the command line arguments
17.47 */
17.48 public static void main(String args[]) {
17.49 java.awt.EventQueue.invokeLater(new Runnable() {
17.50 +
17.51 public void run() {
17.52 ZobrazovacAdres dialog = new ZobrazovacAdres(new javax.swing.JFrame(), true);
17.53 dialog.addWindowListener(new java.awt.event.WindowAdapter() {
17.54 +
17.55 + @Override
17.56 public void windowClosing(java.awt.event.WindowEvent e) {
17.57 System.exit(0);
17.58 }
17.59 @@ -69,9 +68,7 @@
17.60 }
17.61 });
17.62 }
17.63 -
17.64 // Variables declaration - do not modify//GEN-BEGIN:variables
17.65 private cz.frantovo.superPostak.PanelPrijemcu panelAdres;
17.66 // End of variables declaration//GEN-END:variables
17.67 -
17.68 }