Changeset 3:03d27d3b3f7b

Show
Ignore:
Timestamp:
02/28/09 17:57:14 (16 years ago)
Author:
František Kučera <franta-hg@…>
Branch:
default
Message:

Drobnosti a Substance LaF

Location:
java
Files:
5 removed
14 modified

Legend:

Unmodified
Added
Removed
  • java/Postak/nbproject/build-impl.xml

    r0 r3  
    153153            <attribute default="${excludes}" name="excludes"/> 
    154154            <attribute default="${javac.debug}" name="debug"/> 
    155             <attribute default="" name="sourcepath"/> 
     155            <attribute default="/does/not/exist" name="sourcepath"/> 
    156156            <element name="customize" optional="true"/> 
    157157            <sequential> 
     
    219219        </macrodef> 
    220220    </target> 
    221     <target name="-init-macrodef-nbjpda"> 
     221    <target depends="-init-debug-args" name="-init-macrodef-nbjpda"> 
    222222        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1"> 
    223223            <attribute default="${main.class}" name="name"/> 
     
    225225            <attribute default="" name="stopclassname"/> 
    226226            <sequential> 
    227                 <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="dt_socket"> 
     227                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}"> 
    228228                    <classpath> 
    229229                        <path path="@{classpath}"/> 
     
    256256            <istrue value="${have-jdk-older-than-1.4}"/> 
    257257        </condition> 
     258        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem"> 
     259            <os family="windows"/> 
     260        </condition> 
     261        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}"> 
     262            <isset property="debug.transport"/> 
     263        </condition> 
    258264    </target> 
    259265    <target depends="-init-debug-args" name="-init-macrodef-debug"> 
     
    265271                <java classname="@{classname}" dir="${work.dir}" fork="true"> 
    266272                    <jvmarg line="${debug-args-line}"/> 
    267                     <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/> 
     273                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/> 
    268274                    <jvmarg line="${run.jvmargs}"/> 
    269275                    <classpath> 
     
    312318            --> 
    313319    <target depends="init" name="deps-jar" unless="no.deps"/> 
     320    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/> 
     321    <target depends="init" name="-check-automatic-build"> 
     322        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/> 
     323    </target> 
     324    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build"> 
     325        <antcall target="clean"/> 
     326    </target> 
    314327    <target depends="init,deps-jar" name="-pre-pre-compile"> 
    315328        <mkdir dir="${build.classes.dir}"/> 
     
    332345        <!-- You can override this target in the ../build.xml file. --> 
    333346    </target> 
    334     <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/> 
     347    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/> 
    335348    <target name="-pre-compile-single"> 
    336349        <!-- Empty placeholder for easier customization. --> 
     
    346359        <!-- You can override this target in the ../build.xml file. --> 
    347360    </target> 
    348     <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/> 
     361    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/> 
    349362    <!-- 
    350363                ==================== 
  • java/Postak/nbproject/genfiles.properties

    r0 r3  
    11build.xml.data.CRC32=ecce8ba0 
    2 build.xml.script.CRC32=b613dcff 
    3 build.xml.stylesheet.CRC32=be360661 
     2build.xml.script.CRC32=e861f380 
     3build.xml.stylesheet.CRC32=958a1d3e 
    44# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 
    55# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 
    66nbproject/build-impl.xml.data.CRC32=ecce8ba0 
    7 nbproject/build-impl.xml.script.CRC32=38f4cab2 
    8 nbproject/build-impl.xml.stylesheet.CRC32=487672f9 
     7nbproject/build-impl.xml.script.CRC32=a6ef0080 
     8nbproject/build-impl.xml.stylesheet.CRC32=65b8de21 
  • java/SuperPostak/nbproject/build-impl.xml

    r0 r3  
    154154            <attribute default="${excludes}" name="excludes"/> 
    155155            <attribute default="${javac.debug}" name="debug"/> 
    156             <attribute default="" name="sourcepath"/> 
     156            <attribute default="/does/not/exist" name="sourcepath"/> 
    157157            <element name="customize" optional="true"/> 
    158158            <sequential> 
     
    220220        </macrodef> 
    221221    </target> 
    222     <target name="-init-macrodef-nbjpda"> 
     222    <target depends="-init-debug-args" name="-init-macrodef-nbjpda"> 
    223223        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1"> 
    224224            <attribute default="${main.class}" name="name"/> 
     
    226226            <attribute default="" name="stopclassname"/> 
    227227            <sequential> 
    228                 <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="dt_socket"> 
     228                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}"> 
    229229                    <classpath> 
    230230                        <path path="@{classpath}"/> 
     
    257257            <istrue value="${have-jdk-older-than-1.4}"/> 
    258258        </condition> 
     259        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem"> 
     260            <os family="windows"/> 
     261        </condition> 
     262        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}"> 
     263            <isset property="debug.transport"/> 
     264        </condition> 
    259265    </target> 
    260266    <target depends="-init-debug-args" name="-init-macrodef-debug"> 
     
    266272                <java classname="@{classname}" dir="${work.dir}" fork="true"> 
    267273                    <jvmarg line="${debug-args-line}"/> 
    268                     <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/> 
     274                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/> 
    269275                    <jvmarg line="${run.jvmargs}"/> 
    270276                    <classpath> 
     
    316322        <ant antfile="${project.Postak}/build.xml" inheritall="false" target="jar"/> 
    317323    </target> 
     324    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/> 
     325    <target depends="init" name="-check-automatic-build"> 
     326        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/> 
     327    </target> 
     328    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build"> 
     329        <antcall target="clean"/> 
     330    </target> 
    318331    <target depends="init,deps-jar" name="-pre-pre-compile"> 
    319332        <mkdir dir="${build.classes.dir}"/> 
     
    336349        <!-- You can override this target in the ../build.xml file. --> 
    337350    </target> 
    338     <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/> 
     351    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/> 
    339352    <target name="-pre-compile-single"> 
    340353        <!-- Empty placeholder for easier customization. --> 
     
    350363        <!-- You can override this target in the ../build.xml file. --> 
    351364    </target> 
    352     <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/> 
     365    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/> 
    353366    <!-- 
    354367                ==================== 
  • java/SuperPostak/nbproject/genfiles.properties

    r0 r3  
    11build.xml.data.CRC32=d917048a 
    2 build.xml.script.CRC32=bda184ca 
    3 build.xml.stylesheet.CRC32=be360661 
     2build.xml.script.CRC32=7b671108 
     3build.xml.stylesheet.CRC32=958a1d3e 
    44# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 
    55# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 
    66nbproject/build-impl.xml.data.CRC32=d917048a 
    7 nbproject/build-impl.xml.script.CRC32=5446e5b9 
    8 nbproject/build-impl.xml.stylesheet.CRC32=487672f9 
     7nbproject/build-impl.xml.script.CRC32=957eb65c 
     8nbproject/build-impl.xml.stylesheet.CRC32=65b8de21 
  • java/SuperPostak/src/cz/frantovo/superPostak/Data.java

    r0 r3  
    1 /* 
    2  * To change this template, choose Tools | Templates 
    3  * and open the template in the editor. 
    4  */ 
    51package cz.frantovo.superPostak; 
    62 
  • java/SuperPostak/src/cz/frantovo/superPostak/DataSQL.java

    r0 r3  
    1 /* 
    2  * To change this template, choose Tools | Templates 
    3  * and open the template in the editor. 
    4  */ 
    51package cz.frantovo.superPostak; 
    62 
  • java/SuperPostak/src/cz/frantovo/superPostak/GrafPokus.form

    r0 r3  
    1111    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 
    1212    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 
     13    <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 
    1314    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 
    1415    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 
     
    4546        <DimensionLayout dim="0"> 
    4647          <Group type="103" groupAlignment="0" attributes="0"> 
    47               <EmptySpace min="0" pref="465" max="32767" attributes="0"/> 
     48              <EmptySpace min="0" pref="400" max="32767" attributes="0"/> 
    4849          </Group> 
    4950        </DimensionLayout> 
    5051        <DimensionLayout dim="1"> 
    5152          <Group type="103" groupAlignment="0" attributes="0"> 
    52               <EmptySpace min="0" pref="422" max="32767" attributes="0"/> 
     53              <EmptySpace min="0" pref="400" max="32767" attributes="0"/> 
    5354          </Group> 
    5455        </DimensionLayout> 
  • java/SuperPostak/src/cz/frantovo/superPostak/GrafPokus.java

    r0 r3  
    1111 
    1212/** 
    13  * 
     13 * Tohle sem nepatří ;-) 
    1414 * @author  fiki 
    1515 */ 
    1616public class GrafPokus extends javax.swing.JFrame { 
     17    private static final long serialVersionUID = 5745756301932587174L; 
    1718     
    1819    /** Creates new form GrafPokus */ 
  • java/SuperPostak/src/cz/frantovo/superPostak/PanelPrijemcu.form

    r0 r3  
    55    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 
    66    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 
     7    <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 
    78    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 
    89    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 
     
    2728              <EmptySpace max="-2" attributes="0"/> 
    2829          </Group> 
    29           <Component id="jScrollPane1" alignment="0" pref="410" max="32767" attributes="0"/> 
     30          <Component id="jScrollPane1" alignment="0" pref="421" max="32767" attributes="0"/> 
    3031      </Group> 
    3132    </DimensionLayout> 
  • java/SuperPostak/src/cz/frantovo/superPostak/PanelPrijemcu.java

    r0 r3  
    2828 
    2929    private static Logger log = Logger.getLogger(PanelPrijemcu.class.getName()); 
     30    private static final long serialVersionUID = -8981943048392428523L; 
    3031    private ModelTabulky data = new ModelTabulky(); 
    3132 
     
    266267    private javax.swing.JButton ulozit; 
    267268    // End of variables declaration//GEN-END:variables 
     269 
    268270    private class ModelTabulky implements TableModel { 
    269271 
  • java/SuperPostak/src/cz/frantovo/superPostak/SuperPostak.form

    r0 r3  
    740740    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 
    741741    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 
     742    <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 
    742743    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 
    743744    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 
  • java/SuperPostak/src/cz/frantovo/superPostak/SuperPostak.java

    r0 r3  
    3333import javax.swing.JOptionPane; 
    3434import javax.swing.JTextArea; 
    35 import javax.swing.LookAndFeel; 
    3635import javax.swing.UIManager; 
    3736import javax.swing.UnsupportedLookAndFeelException; 
     
    3938import org.jdesktop.swingx.JXTaskPaneContainer; 
    4039import org.jdesktop.swingx.error.ErrorInfo; 
    41 import org.jvnet.substance.skin.SubstanceBusinessBlueSteelLookAndFeel; 
    4240 
    4341/** 
     
    5351    private static final String DOMACI_ADRESAR = System.getProperty("user.home"); 
    5452    private static Logger log = Logger.getLogger(SuperPostak.class.getName()); 
     53    private static final long serialVersionUID = -7026850569575604048L; 
    5554    private Nastaveni nastaveni = new Nastaveni(); 
    5655    private Postak postak = new Postak(nastaveni); 
     
    8281            nastavLadiciHodnoty(); 
    8382        } 
    84          
     83 
    8584        if (exit) { 
    8685            setDefaultCloseOperation(EXIT_ON_CLOSE); 
     
    919918    }// </editor-fold>//GEN-END:initComponents 
    920919    private void vstupPredmetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_vstupPredmetActionPerformed 
    921          
    922920}//GEN-LAST:event_vstupPredmetActionPerformed 
    923921 
     
    10201018        } catch (Exception e) { 
    10211019            zobrazChybovyDialog("Zkušební zprávu se nepodařilo odeslat", e, Level.SEVERE, true); 
    1022         }         
     1020        } 
    10231021    }//GEN-LAST:event_rozeslatZkusebniTlacitkoActionPerformed 
    10241022 
     
    11391137        final boolean ladit = (args != null && args.length > 0 && args[0].equals("ladit")); 
    11401138 
    1141         /**try { 
     1139        try { 
    11421140            //LookAndFeel laf = UIManager.getLookAndFeel(); 
    11431141 
     
    11561154        } catch (UnsupportedLookAndFeelException ex) { 
    11571155            log.log(Level.SEVERE, null, ex); 
    1158         } */ 
     1156        } 
    11591157 
    11601158        java.awt.EventQueue.invokeLater(new Runnable() { 
     
    11631161                new SuperPostak(ladit, true).setVisible(true); 
    11641162            } 
    1165             }); 
     1163        }); 
    11661164    } 
    11671165    // Variables declaration - do not modify//GEN-BEGIN:variables 
  • java/SuperPostak/src/cz/frantovo/superPostak/ZobrazovacAdres.form

    r0 r3  
    1212    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 
    1313    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 
     14    <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 
    1415    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 
    1516    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 
  • java/SuperPostak/src/cz/frantovo/superPostak/ZobrazovacAdres.java

    r0 r3  
    1 /* 
    2  * ZobrazovacAdres.java 
    3  * 
    4  * Created on 18. únor 2008, 0:13 
    5  */ 
    6  
    71package cz.frantovo.superPostak; 
    82 
     
    159 */ 
    1610public class ZobrazovacAdres extends javax.swing.JDialog { 
    17      
     11 
     12    private static final long serialVersionUID = 5084215476284985170L; 
     13 
    1814    /** Creates new form ZobrazovacAdres */ 
    1915    public ZobrazovacAdres(java.awt.Frame parent, boolean modal) { 
    2016        super(parent, modal); 
    2117        initComponents(); 
    22         panelAdres.setEditovatelny(false);         
     18        panelAdres.setEditovatelny(false); 
    2319    } 
    24      
     20 
    2521    public void setAdresy(Collection<InternetAddressKomu> adresy) { 
    2622        panelAdres.setAdresy(adresy); 
    27     }     
    28      
     23    } 
     24 
    2925    /** This method is called from within the constructor to 
    3026     * initialize the form. 
     
    5349        pack(); 
    5450    }// </editor-fold>//GEN-END:initComponents 
    55      
     51 
    5652    /** 
    5753     * @param args the command line arguments 
     
    5955    public static void main(String args[]) { 
    6056        java.awt.EventQueue.invokeLater(new Runnable() { 
     57 
    6158            public void run() { 
    6259                ZobrazovacAdres dialog = new ZobrazovacAdres(new javax.swing.JFrame(), true); 
    6360                dialog.addWindowListener(new java.awt.event.WindowAdapter() { 
     61 
     62                    @Override 
    6463                    public void windowClosing(java.awt.event.WindowEvent e) { 
    6564                        System.exit(0); 
     
    7069        }); 
    7170    } 
    72      
    7371    // Variables declaration - do not modify//GEN-BEGIN:variables 
    7472    private cz.frantovo.superPostak.PanelPrijemcu panelAdres; 
    7573    // End of variables declaration//GEN-END:variables 
    76      
    7774}