Changeset 3:03d27d3b3f7b
- Timestamp:
- 02/28/09 17:57:14 (16 years ago)
- Branch:
- default
- Location:
- java
- Files:
-
- 5 removed
- 14 modified
Legend:
- Unmodified
- Added
- Removed
-
java/Postak/nbproject/build-impl.xml
r0 r3 153 153 <attribute default="${excludes}" name="excludes"/> 154 154 <attribute default="${javac.debug}" name="debug"/> 155 <attribute default=" " name="sourcepath"/>155 <attribute default="/does/not/exist" name="sourcepath"/> 156 156 <element name="customize" optional="true"/> 157 157 <sequential> … … 219 219 </macrodef> 220 220 </target> 221 <target name="-init-macrodef-nbjpda">221 <target depends="-init-debug-args" name="-init-macrodef-nbjpda"> 222 222 <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1"> 223 223 <attribute default="${main.class}" name="name"/> … … 225 225 <attribute default="" name="stopclassname"/> 226 226 <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}"> 228 228 <classpath> 229 229 <path path="@{classpath}"/> … … 256 256 <istrue value="${have-jdk-older-than-1.4}"/> 257 257 </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> 258 264 </target> 259 265 <target depends="-init-debug-args" name="-init-macrodef-debug"> … … 265 271 <java classname="@{classname}" dir="${work.dir}" fork="true"> 266 272 <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}"/> 268 274 <jvmarg line="${run.jvmargs}"/> 269 275 <classpath> … … 312 318 --> 313 319 <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> 314 327 <target depends="init,deps-jar" name="-pre-pre-compile"> 315 328 <mkdir dir="${build.classes.dir}"/> … … 332 345 <!-- You can override this target in the ../build.xml file. --> 333 346 </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"/> 335 348 <target name="-pre-compile-single"> 336 349 <!-- Empty placeholder for easier customization. --> … … 346 359 <!-- You can override this target in the ../build.xml file. --> 347 360 </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"/> 349 362 <!-- 350 363 ==================== -
java/Postak/nbproject/genfiles.properties
r0 r3 1 1 build.xml.data.CRC32=ecce8ba0 2 build.xml.script.CRC32= b613dcff3 build.xml.stylesheet.CRC32= be3606612 build.xml.script.CRC32=e861f380 3 build.xml.stylesheet.CRC32=958a1d3e 4 4 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 5 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 6 nbproject/build-impl.xml.data.CRC32=ecce8ba0 7 nbproject/build-impl.xml.script.CRC32= 38f4cab28 nbproject/build-impl.xml.stylesheet.CRC32= 487672f97 nbproject/build-impl.xml.script.CRC32=a6ef0080 8 nbproject/build-impl.xml.stylesheet.CRC32=65b8de21 -
java/SuperPostak/nbproject/build-impl.xml
r0 r3 154 154 <attribute default="${excludes}" name="excludes"/> 155 155 <attribute default="${javac.debug}" name="debug"/> 156 <attribute default=" " name="sourcepath"/>156 <attribute default="/does/not/exist" name="sourcepath"/> 157 157 <element name="customize" optional="true"/> 158 158 <sequential> … … 220 220 </macrodef> 221 221 </target> 222 <target name="-init-macrodef-nbjpda">222 <target depends="-init-debug-args" name="-init-macrodef-nbjpda"> 223 223 <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1"> 224 224 <attribute default="${main.class}" name="name"/> … … 226 226 <attribute default="" name="stopclassname"/> 227 227 <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}"> 229 229 <classpath> 230 230 <path path="@{classpath}"/> … … 257 257 <istrue value="${have-jdk-older-than-1.4}"/> 258 258 </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> 259 265 </target> 260 266 <target depends="-init-debug-args" name="-init-macrodef-debug"> … … 266 272 <java classname="@{classname}" dir="${work.dir}" fork="true"> 267 273 <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}"/> 269 275 <jvmarg line="${run.jvmargs}"/> 270 276 <classpath> … … 316 322 <ant antfile="${project.Postak}/build.xml" inheritall="false" target="jar"/> 317 323 </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> 318 331 <target depends="init,deps-jar" name="-pre-pre-compile"> 319 332 <mkdir dir="${build.classes.dir}"/> … … 336 349 <!-- You can override this target in the ../build.xml file. --> 337 350 </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"/> 339 352 <target name="-pre-compile-single"> 340 353 <!-- Empty placeholder for easier customization. --> … … 350 363 <!-- You can override this target in the ../build.xml file. --> 351 364 </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"/> 353 366 <!-- 354 367 ==================== -
java/SuperPostak/nbproject/genfiles.properties
r0 r3 1 1 build.xml.data.CRC32=d917048a 2 build.xml.script.CRC32= bda184ca3 build.xml.stylesheet.CRC32= be3606612 build.xml.script.CRC32=7b671108 3 build.xml.stylesheet.CRC32=958a1d3e 4 4 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 5 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 6 nbproject/build-impl.xml.data.CRC32=d917048a 7 nbproject/build-impl.xml.script.CRC32= 5446e5b98 nbproject/build-impl.xml.stylesheet.CRC32= 487672f97 nbproject/build-impl.xml.script.CRC32=957eb65c 8 nbproject/build-impl.xml.stylesheet.CRC32=65b8de21 -
java/SuperPostak/src/cz/frantovo/superPostak/Data.java
r0 r3 1 /*2 * To change this template, choose Tools | Templates3 * and open the template in the editor.4 */5 1 package cz.frantovo.superPostak; 6 2 -
java/SuperPostak/src/cz/frantovo/superPostak/DataSQL.java
r0 r3 1 /*2 * To change this template, choose Tools | Templates3 * and open the template in the editor.4 */5 1 package cz.frantovo.superPostak; 6 2 -
java/SuperPostak/src/cz/frantovo/superPostak/GrafPokus.form
r0 r3 11 11 <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 12 12 <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 13 <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 13 14 <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 14 15 <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> … … 45 46 <DimensionLayout dim="0"> 46 47 <Group type="103" groupAlignment="0" attributes="0"> 47 <EmptySpace min="0" pref="4 65" max="32767" attributes="0"/>48 <EmptySpace min="0" pref="400" max="32767" attributes="0"/> 48 49 </Group> 49 50 </DimensionLayout> 50 51 <DimensionLayout dim="1"> 51 52 <Group type="103" groupAlignment="0" attributes="0"> 52 <EmptySpace min="0" pref="4 22" max="32767" attributes="0"/>53 <EmptySpace min="0" pref="400" max="32767" attributes="0"/> 53 54 </Group> 54 55 </DimensionLayout> -
java/SuperPostak/src/cz/frantovo/superPostak/GrafPokus.java
r0 r3 11 11 12 12 /** 13 * 13 * Tohle sem nepatří ;-) 14 14 * @author fiki 15 15 */ 16 16 public class GrafPokus extends javax.swing.JFrame { 17 private static final long serialVersionUID = 5745756301932587174L; 17 18 18 19 /** Creates new form GrafPokus */ -
java/SuperPostak/src/cz/frantovo/superPostak/PanelPrijemcu.form
r0 r3 5 5 <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 6 6 <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 7 <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 7 8 <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 8 9 <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> … … 27 28 <EmptySpace max="-2" attributes="0"/> 28 29 </Group> 29 <Component id="jScrollPane1" alignment="0" pref="4 10" max="32767" attributes="0"/>30 <Component id="jScrollPane1" alignment="0" pref="421" max="32767" attributes="0"/> 30 31 </Group> 31 32 </DimensionLayout> -
java/SuperPostak/src/cz/frantovo/superPostak/PanelPrijemcu.java
r0 r3 28 28 29 29 private static Logger log = Logger.getLogger(PanelPrijemcu.class.getName()); 30 private static final long serialVersionUID = -8981943048392428523L; 30 31 private ModelTabulky data = new ModelTabulky(); 31 32 … … 266 267 private javax.swing.JButton ulozit; 267 268 // End of variables declaration//GEN-END:variables 269 268 270 private class ModelTabulky implements TableModel { 269 271 -
java/SuperPostak/src/cz/frantovo/superPostak/SuperPostak.form
r0 r3 740 740 <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 741 741 <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 742 <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 742 743 <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 743 744 <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> -
java/SuperPostak/src/cz/frantovo/superPostak/SuperPostak.java
r0 r3 33 33 import javax.swing.JOptionPane; 34 34 import javax.swing.JTextArea; 35 import javax.swing.LookAndFeel;36 35 import javax.swing.UIManager; 37 36 import javax.swing.UnsupportedLookAndFeelException; … … 39 38 import org.jdesktop.swingx.JXTaskPaneContainer; 40 39 import org.jdesktop.swingx.error.ErrorInfo; 41 import org.jvnet.substance.skin.SubstanceBusinessBlueSteelLookAndFeel;42 40 43 41 /** … … 53 51 private static final String DOMACI_ADRESAR = System.getProperty("user.home"); 54 52 private static Logger log = Logger.getLogger(SuperPostak.class.getName()); 53 private static final long serialVersionUID = -7026850569575604048L; 55 54 private Nastaveni nastaveni = new Nastaveni(); 56 55 private Postak postak = new Postak(nastaveni); … … 82 81 nastavLadiciHodnoty(); 83 82 } 84 83 85 84 if (exit) { 86 85 setDefaultCloseOperation(EXIT_ON_CLOSE); … … 919 918 }// </editor-fold>//GEN-END:initComponents 920 919 private void vstupPredmetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_vstupPredmetActionPerformed 921 922 920 }//GEN-LAST:event_vstupPredmetActionPerformed 923 921 … … 1020 1018 } catch (Exception e) { 1021 1019 zobrazChybovyDialog("Zkušební zprávu se nepodařilo odeslat", e, Level.SEVERE, true); 1022 } 1020 } 1023 1021 }//GEN-LAST:event_rozeslatZkusebniTlacitkoActionPerformed 1024 1022 … … 1139 1137 final boolean ladit = (args != null && args.length > 0 && args[0].equals("ladit")); 1140 1138 1141 /**try {1139 try { 1142 1140 //LookAndFeel laf = UIManager.getLookAndFeel(); 1143 1141 … … 1156 1154 } catch (UnsupportedLookAndFeelException ex) { 1157 1155 log.log(Level.SEVERE, null, ex); 1158 } */1156 } 1159 1157 1160 1158 java.awt.EventQueue.invokeLater(new Runnable() { … … 1163 1161 new SuperPostak(ladit, true).setVisible(true); 1164 1162 } 1165 1163 }); 1166 1164 } 1167 1165 // Variables declaration - do not modify//GEN-BEGIN:variables -
java/SuperPostak/src/cz/frantovo/superPostak/ZobrazovacAdres.form
r0 r3 12 12 <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 13 13 <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 14 <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 14 15 <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 15 16 <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> -
java/SuperPostak/src/cz/frantovo/superPostak/ZobrazovacAdres.java
r0 r3 1 /*2 * ZobrazovacAdres.java3 *4 * Created on 18. únor 2008, 0:135 */6 7 1 package cz.frantovo.superPostak; 8 2 … … 15 9 */ 16 10 public class ZobrazovacAdres extends javax.swing.JDialog { 17 11 12 private static final long serialVersionUID = 5084215476284985170L; 13 18 14 /** Creates new form ZobrazovacAdres */ 19 15 public ZobrazovacAdres(java.awt.Frame parent, boolean modal) { 20 16 super(parent, modal); 21 17 initComponents(); 22 panelAdres.setEditovatelny(false); 18 panelAdres.setEditovatelny(false); 23 19 } 24 20 25 21 public void setAdresy(Collection<InternetAddressKomu> adresy) { 26 22 panelAdres.setAdresy(adresy); 27 } 28 23 } 24 29 25 /** This method is called from within the constructor to 30 26 * initialize the form. … … 53 49 pack(); 54 50 }// </editor-fold>//GEN-END:initComponents 55 51 56 52 /** 57 53 * @param args the command line arguments … … 59 55 public static void main(String args[]) { 60 56 java.awt.EventQueue.invokeLater(new Runnable() { 57 61 58 public void run() { 62 59 ZobrazovacAdres dialog = new ZobrazovacAdres(new javax.swing.JFrame(), true); 63 60 dialog.addWindowListener(new java.awt.event.WindowAdapter() { 61 62 @Override 64 63 public void windowClosing(java.awt.event.WindowEvent e) { 65 64 System.exit(0); … … 70 69 }); 71 70 } 72 73 71 // Variables declaration - do not modify//GEN-BEGIN:variables 74 72 private cz.frantovo.superPostak.PanelPrijemcu panelAdres; 75 73 // End of variables declaration//GEN-END:variables 76 77 74 }