1.1 --- a/java/SuperPostak/src/cz/frantovo/superPostak/ZobrazovacAdres.java Sat Feb 28 17:56:24 2009 +0100
1.2 +++ b/java/SuperPostak/src/cz/frantovo/superPostak/ZobrazovacAdres.java Sat Feb 28 17:57:14 2009 +0100
1.3 @@ -1,9 +1,3 @@
1.4 -/*
1.5 - * ZobrazovacAdres.java
1.6 - *
1.7 - * Created on 18. únor 2008, 0:13
1.8 - */
1.9 -
1.10 package cz.frantovo.superPostak;
1.11
1.12 import cz.frantovo.postak.InternetAddressKomu;
1.13 @@ -14,18 +8,20 @@
1.14 * @author fiki
1.15 */
1.16 public class ZobrazovacAdres extends javax.swing.JDialog {
1.17 -
1.18 +
1.19 + private static final long serialVersionUID = 5084215476284985170L;
1.20 +
1.21 /** Creates new form ZobrazovacAdres */
1.22 public ZobrazovacAdres(java.awt.Frame parent, boolean modal) {
1.23 super(parent, modal);
1.24 initComponents();
1.25 - panelAdres.setEditovatelny(false);
1.26 + panelAdres.setEditovatelny(false);
1.27 }
1.28 -
1.29 +
1.30 public void setAdresy(Collection<InternetAddressKomu> adresy) {
1.31 panelAdres.setAdresy(adresy);
1.32 - }
1.33 -
1.34 + }
1.35 +
1.36 /** This method is called from within the constructor to
1.37 * initialize the form.
1.38 * WARNING: Do NOT modify this code. The content of this method is
1.39 @@ -52,15 +48,18 @@
1.40
1.41 pack();
1.42 }// </editor-fold>//GEN-END:initComponents
1.43 -
1.44 +
1.45 /**
1.46 * @param args the command line arguments
1.47 */
1.48 public static void main(String args[]) {
1.49 java.awt.EventQueue.invokeLater(new Runnable() {
1.50 +
1.51 public void run() {
1.52 ZobrazovacAdres dialog = new ZobrazovacAdres(new javax.swing.JFrame(), true);
1.53 dialog.addWindowListener(new java.awt.event.WindowAdapter() {
1.54 +
1.55 + @Override
1.56 public void windowClosing(java.awt.event.WindowEvent e) {
1.57 System.exit(0);
1.58 }
1.59 @@ -69,9 +68,7 @@
1.60 }
1.61 });
1.62 }
1.63 -
1.64 // Variables declaration - do not modify//GEN-BEGIN:variables
1.65 private cz.frantovo.superPostak.PanelPrijemcu panelAdres;
1.66 // End of variables declaration//GEN-END:variables
1.67 -
1.68 }