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