Legend:
- Unmodified
- Added
- Removed
-
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