KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SOFA > SOFAnet > Browser > BinBundlesAndLicencesPanel


1 /*
2  * BinBundlesAndLicencesPanel.java
3  *
4  * Created on 10. květen 2004, 17:17
5  */

6
7 package SOFA.SOFAnet.Browser;
8
9 import javax.swing.*;
10 import SOFA.SOFAnet.Admin.RMI.*;
11 import SOFA.SOFAnet.Repository.Licence;
12 import java.rmi.RemoteException JavaDoc;
13 import java.util.SortedSet JavaDoc;
14 import java.util.TreeSet JavaDoc;
15 import java.util.Iterator JavaDoc;
16
17 /**
18  *
19  * @author Ladislav Sobr
20  */

21 public class BinBundlesAndLicencesPanel extends javax.swing.JPanel JavaDoc
22 {
23   private RMIAdminInterface admin;
24   private DefaultListModel content;
25   
26   private class BundleLic implements Comparable JavaDoc
27   {
28     public String JavaDoc bundleName;
29     public boolean isBinBundle;
30     public boolean isLicence;
31     
32     BundleLic(String JavaDoc bundleName, boolean isBinBundle, boolean isLicence)
33     {
34       this.bundleName = bundleName;
35       this.isBinBundle = isBinBundle;
36       this.isLicence = isLicence;
37     }
38     
39     public boolean equals(Object JavaDoc o)
40     {
41       if (this == o) return true;
42       if (o instanceof BundleLic)
43       {
44         BundleLic bundleLic = (BundleLic)o;
45         return bundleName.compareTo(bundleLic.bundleName) == 0;
46       }
47       else return false;
48     }
49
50     public int compareTo(Object JavaDoc o)
51     {
52       BundleLic bundleLic = (BundleLic)o;
53       return bundleName.compareTo(bundleLic.bundleName);
54     }
55     
56     public String JavaDoc toString()
57     {
58       if (isBinBundle)
59       {
60         if (isLicence) return bundleName + " (with licence)";
61         else return bundleName;
62       }
63       else
64       {
65         if (isLicence) return bundleName + " (LICENCE ONLY!)";
66         else return "error";
67       }
68     }
69   }
70   /** Creates new form BinBundlesAndLicencesPanel */
71   public BinBundlesAndLicencesPanel(RMIAdminInterface admin)
72   {
73     this.admin = admin;
74     content = new DefaultListModel();
75 // reload();
76
initComponents();
77   }
78   
79   private void reload()
80   {
81     content.clear();
82     
83     String JavaDoc[] bundles = null;
84     String JavaDoc[] licences = null;
85     try
86     {
87       bundles = admin.binBundlesList();
88       licences = admin.licencesList();
89     }
90     /*
91     catch (RMIAdminException e)
92     {
93       JOptionPane.showMessageDialog(this, "Error occured while accessing SOFA net node:\n" + e, "Error", JOptionPane.ERROR_MESSAGE);
94       return;
95     }
96      */

97     catch (RemoteException JavaDoc e)
98     {
99       JOptionPane.showMessageDialog(this, "RMI Error occured while accessing SOFA net node:\n" + e, "Error", JOptionPane.ERROR_MESSAGE);
100       return;
101     }
102     
103     SortedSet JavaDoc ss = new TreeSet JavaDoc();
104     int i;
105     BundleLic tmpBundleLic = new BundleLic("", false, false);
106     for (i = 0; i < bundles.length; i++) ss.add(new BundleLic(bundles[i], true, false));
107     for (i = 0; i < licences.length; i++)
108     {
109       tmpBundleLic.bundleName = licences[i];
110       if (ss.contains(tmpBundleLic))
111       {
112         Iterator JavaDoc it = ss.iterator();
113         while (it.hasNext())
114         {
115           BundleLic bundleLic = (BundleLic)it.next();
116           if (bundleLic.equals(tmpBundleLic))
117           {
118             bundleLic.isLicence = true;
119             break;
120           }
121         }
122       }
123       else ss.add(new BundleLic(tmpBundleLic.bundleName, false, true));
124     }
125     
126     content.ensureCapacity(ss.size());
127     
128     Iterator JavaDoc it = ss.iterator();
129     while (it.hasNext()) content.addElement(it.next());
130   }
131   
132   private String JavaDoc getSelectedBundleName()
133   {
134     String JavaDoc bundleName = "";
135
136     int index = contentList.getSelectedIndex();
137     if (index != -1) bundleName = ((BundleLic)content.getElementAt(index)).bundleName;
138     return bundleName;
139   }
140
141   /** This method is called from within the constructor to
142    * initialize the form.
143    * WARNING: Do NOT modify this code. The content of this method is
144    * always regenerated by the Form Editor.
145    */

146   private void initComponents()//GEN-BEGIN:initComponents
147
{
148     jPanel3 = new javax.swing.JPanel JavaDoc();
149     binBundleCheckBox = new javax.swing.JCheckBox JavaDoc();
150     licenceCheckBox = new javax.swing.JCheckBox JavaDoc();
151     jPanel2 = new javax.swing.JPanel JavaDoc();
152     jPanel4 = new javax.swing.JPanel JavaDoc();
153     installButton = new javax.swing.JButton JavaDoc();
154     shareButton = new javax.swing.JButton JavaDoc();
155     deleteButton = new javax.swing.JButton JavaDoc();
156     deleteBinaryButton = new javax.swing.JButton JavaDoc();
157     createOfferButton = new javax.swing.JButton JavaDoc();
158     testPushButton = new javax.swing.JButton JavaDoc();
159     pushButton = new javax.swing.JButton JavaDoc();
160     showLicenceButton = new javax.swing.JButton JavaDoc();
161     editLicenceButton = new javax.swing.JButton JavaDoc();
162     deleteLicenceButton = new javax.swing.JButton JavaDoc();
163     jPanel1 = new javax.swing.JPanel JavaDoc();
164     jPanel5 = new javax.swing.JPanel JavaDoc();
165     refreshButton = new javax.swing.JButton JavaDoc();
166     testPullButton = new javax.swing.JButton JavaDoc();
167     pullButton = new javax.swing.JButton JavaDoc();
168     jScrollPane1 = new javax.swing.JScrollPane JavaDoc();
169     contentList = new javax.swing.JList JavaDoc();
170
171     setLayout(new java.awt.BorderLayout JavaDoc());
172
173     addComponentListener(new java.awt.event.ComponentAdapter JavaDoc()
174     {
175       public void componentShown(java.awt.event.ComponentEvent JavaDoc evt)
176       {
177         formComponentShown(evt);
178       }
179     });
180
181     jPanel3.setLayout(new java.awt.GridLayout JavaDoc(1, 0));
182
183     jPanel3.setBorder(new javax.swing.border.TitledBorder JavaDoc("Bundle & Licence Info"));
184     binBundleCheckBox.setText("Binary Bundle");
185     binBundleCheckBox.setBorderPaintedFlat(true);
186     binBundleCheckBox.addActionListener(new java.awt.event.ActionListener JavaDoc()
187     {
188       public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt)
189       {
190         CheckBoxNoChangeAction(evt);
191       }
192     });
193
194     jPanel3.add(binBundleCheckBox);
195
196     licenceCheckBox.setText("Licence");
197     licenceCheckBox.setBorderPaintedFlat(true);
198     licenceCheckBox.addActionListener(new java.awt.event.ActionListener JavaDoc()
199     {
200       public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt)
201       {
202         CheckBoxNoChangeAction(evt);
203       }
204     });
205
206     jPanel3.add(licenceCheckBox);
207
208     add(jPanel3, java.awt.BorderLayout.SOUTH);
209
210     jPanel2.setLayout(new java.awt.BorderLayout JavaDoc());
211
212     jPanel2.setPreferredSize(new java.awt.Dimension JavaDoc(200, 379));
213     jPanel4.setLayout(new java.awt.GridLayout JavaDoc(10, 0));
214
215     jPanel4.setBorder(new javax.swing.border.TitledBorder JavaDoc("Bundle Specific"));
216     installButton.setText("Install Bundle");
217     installButton.addActionListener(new java.awt.event.ActionListener JavaDoc()
218     {
219       public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt)
220       {
221         installButtonActionPerformed(evt);
222       }
223     });
224
225     jPanel4.add(installButton);
226
227     shareButton.setText("Share Bundle");
228     shareButton.addActionListener(new java.awt.event.ActionListener JavaDoc()
229     {
230       public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt)
231       {
232         shareButtonActionPerformed(evt);
233       }
234     });
235
236     jPanel4.add(shareButton);
237
238     deleteButton.setText("Delete Bundle");
239     deleteButton.addActionListener(new java.awt.event.ActionListener JavaDoc()
240     {
241       public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt)
242       {
243         deleteButtonActionPerformed(evt);
244       }
245     });
246
247     jPanel4.add(deleteButton);
248
249     deleteBinaryButton.setText("Delete Binary Bundle");
250     deleteBinaryButton.addActionListener(new java.awt.event.ActionListener JavaDoc()
251     {
252       public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt)
253       {
254         deleteBinaryButtonActionPerformed(evt);
255       }
256     });
257
258     jPanel4.add(deleteBinaryButton);
259
260     createOfferButton.setText("Create Bundle Offer");
261     createOfferButton.addActionListener(new java.awt.event.ActionListener JavaDoc()
262     {
263       public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt)
264       {
265         createOfferButtonActionPerformed(evt);
266       }
267     });
268
269     jPanel4.add(createOfferButton);
270
271     testPushButton.setText("Test Push Bundle");
272     testPushButton.addActionListener(new java.awt.event.ActionListener JavaDoc()
273     {
274       public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt)
275       {
276         testPushButtonActionPerformed(evt);
277       }
278     });
279
280     jPanel4.add(testPushButton);
281
282     pushButton.setText("Push Bundle");
283     pushButton.addActionListener(new java.awt.event.ActionListener JavaDoc()
284     {
285       public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt)
286       {
287         pushButtonActionPerformed(evt);
288       }
289     });
290
291     jPanel4.add(pushButton);
292
293     showLicenceButton.setText("Show Licence");
294     showLicenceButton.addActionListener(new java.awt.event.ActionListener JavaDoc()
295     {
296       public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt)
297       {
298         showLicenceButtonActionPerformed(evt);
299       }
300     });
301
302     jPanel4.add(showLicenceButton);
303
304     editLicenceButton.setText("Edit Licence (HACK!)");
305     editLicenceButton.addActionListener(new java.awt.event.ActionListener JavaDoc()
306     {
307       public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt)
308       {
309         editLicenceButtonActionPerformed(evt);
310       }
311     });
312
313     jPanel4.add(editLicenceButton);
314
315     deleteLicenceButton.setText("Delete Licence (HACK!)");
316     deleteLicenceButton.addActionListener(new java.awt.event.ActionListener JavaDoc()
317     {
318       public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt)
319       {
320         deleteLicenceButtonActionPerformed(evt);
321       }
322     });
323
324     jPanel4.add(deleteLicenceButton);
325
326     jPanel2.add(jPanel4, java.awt.BorderLayout.NORTH);
327
328     jPanel1.setLayout(new java.awt.BorderLayout JavaDoc());
329
330     jPanel1.setBorder(new javax.swing.border.TitledBorder JavaDoc("General"));
331     jPanel5.setLayout(new java.awt.GridLayout JavaDoc(3, 0));
332
333     refreshButton.setText("Refresh");
334     refreshButton.addActionListener(new java.awt.event.ActionListener JavaDoc()
335     {
336       public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt)
337       {
338         refreshButtonActionPerformed(evt);
339       }
340     });
341
342     jPanel5.add(refreshButton);
343
344     testPullButton.setText("Test Pull Bundle");
345     testPullButton.addActionListener(new java.awt.event.ActionListener JavaDoc()
346     {
347       public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt)
348       {
349         testPullButtonActionPerformed(evt);
350       }
351     });
352
353     jPanel5.add(testPullButton);
354
355     pullButton.setText("Pull Bundle");
356     pullButton.addActionListener(new java.awt.event.ActionListener JavaDoc()
357     {
358       public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt)
359       {
360         pullButtonActionPerformed(evt);
361       }
362     });
363
364     jPanel5.add(pullButton);
365
366     jPanel1.add(jPanel5, java.awt.BorderLayout.NORTH);
367
368     jPanel2.add(jPanel1, java.awt.BorderLayout.CENTER);
369
370     add(jPanel2, java.awt.BorderLayout.EAST);
371
372     contentList.setModel(content);
373     contentList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
374     contentList.setVisibleRowCount(-1);
375     contentList.addListSelectionListener(new javax.swing.event.ListSelectionListener JavaDoc()
376     {
377       public void valueChanged(javax.swing.event.ListSelectionEvent JavaDoc evt)
378       {
379         contentListValueChanged(evt);
380       }
381     });
382     contentList.addMouseListener(new java.awt.event.MouseAdapter JavaDoc()
383     {
384       public void mouseClicked(java.awt.event.MouseEvent JavaDoc evt)
385       {
386         contentListMouseClicked(evt);
387       }
388     });
389
390     jScrollPane1.setViewportView(contentList);
391
392     add(jScrollPane1, java.awt.BorderLayout.CENTER);
393
394   }//GEN-END:initComponents
395

396   private void contentListMouseClicked(java.awt.event.MouseEvent JavaDoc evt)//GEN-FIRST:event_contentListMouseClicked
397
{//GEN-HEADEREND:event_contentListMouseClicked
398
if (evt.getClickCount() == 2)
399     {
400       showLicenceButton.doClick(); //emulate button click
401
}
402   }//GEN-LAST:event_contentListMouseClicked
403

404   private void testPullButtonActionPerformed(java.awt.event.ActionEvent JavaDoc evt)//GEN-FIRST:event_testPullButtonActionPerformed
405
{//GEN-HEADEREND:event_testPullButtonActionPerformed
406
TestPullBundleDialog.showDialog(this, admin, "");
407   }//GEN-LAST:event_testPullButtonActionPerformed
408

409   private void pullButtonActionPerformed(java.awt.event.ActionEvent JavaDoc evt)//GEN-FIRST:event_pullButtonActionPerformed
410
{//GEN-HEADEREND:event_pullButtonActionPerformed
411
if (PullBundleDialog.showDialog(this, admin, "")) reload();
412   }//GEN-LAST:event_pullButtonActionPerformed
413

414   private void deleteLicenceButtonActionPerformed(java.awt.event.ActionEvent JavaDoc evt)//GEN-FIRST:event_deleteLicenceButtonActionPerformed
415
{//GEN-HEADEREND:event_deleteLicenceButtonActionPerformed
416
String JavaDoc bundleName = getSelectedBundleName();
417     
418     if (bundleName.length() == 0)
419     {
420       JOptionPane.showMessageDialog(this, "No bundle selected", "Warning", JOptionPane.WARNING_MESSAGE);
421       return;
422     }
423     else
424     {
425       if (JOptionPane.showConfirmDialog(this, "Do you really want to delete Licence File for bundle '" + bundleName + "'?") != JOptionPane.YES_OPTION) return;
426     }
427     
428     Licence licence = null;
429     try
430     {
431       licence = admin.getLicence(bundleName);
432     }
433     catch (RemoteException JavaDoc e)
434     {
435       JOptionPane.showMessageDialog(this, "RMI Error occured while accessing SOFA net node:\n" + e, "Error", JOptionPane.ERROR_MESSAGE);
436       return;
437     }
438
439     if (licence == null)
440     {
441       JOptionPane.showMessageDialog(this, "No Licence File present for bundle '" + bundleName + "'");
442       return;
443     }
444
445     try
446     {
447       admin.updateLicence(bundleName, null);
448     }
449     catch (RemoteException JavaDoc e)
450     {
451       JOptionPane.showMessageDialog(this, "RMI Error occured while accessing SOFA net node:\n" + e, "Error", JOptionPane.ERROR_MESSAGE);
452       return;
453     }
454     catch (RMIAdminException e)
455     {
456       JOptionPane.showMessageDialog(this, e.getMessage(), "Error", JOptionPane.ERROR_MESSAGE);
457       return;
458     }
459     
460     reload();
461   }//GEN-LAST:event_deleteLicenceButtonActionPerformed
462

463   private void editLicenceButtonActionPerformed(java.awt.event.ActionEvent JavaDoc evt)//GEN-FIRST:event_editLicenceButtonActionPerformed
464
{//GEN-HEADEREND:event_editLicenceButtonActionPerformed
465
String JavaDoc bundleName = getSelectedBundleName();
466     
467     if (bundleName.length() == 0)
468     {
469       JOptionPane.showMessageDialog(this, "No bundle selected", "Warning", JOptionPane.WARNING_MESSAGE);
470       return;
471     }
472     
473     Licence licence = null;
474     try
475     {
476       licence = admin.getLicence(bundleName);
477     }
478     catch (RemoteException JavaDoc e)
479     {
480       JOptionPane.showMessageDialog(this, "RMI Error occured while accessing SOFA net node:\n" + e, "Error", JOptionPane.ERROR_MESSAGE);
481       return;
482     }
483
484     if (licence == null)
485     {
486       if (JOptionPane.showConfirmDialog(this, "No Licence File present for bundle '" + bundleName + "'\nDo you want to create licence file?") != JOptionPane.YES_OPTION) return;
487       licence = new Licence();
488     }
489     else
490     {
491       if (JOptionPane.showConfirmDialog(this, "Do you really want to edit Licence File for bundle '" + bundleName + "'?") != JOptionPane.YES_OPTION) return;
492     }
493     
494     if (LicenceEditDialog.showDialog(this, licence, true, "Licence File of '" + bundleName + "'"))
495     {
496       try
497       {
498         admin.updateLicence(bundleName, licence);
499       }
500       catch (RemoteException JavaDoc e)
501       {
502         JOptionPane.showMessageDialog(this, "RMI Error occured while accessing SOFA net node:\n" + e, "Error", JOptionPane.ERROR_MESSAGE);
503         return;
504       }
505       catch (RMIAdminException e)
506       {
507         JOptionPane.showMessageDialog(this, e.getMessage(), "Error", JOptionPane.ERROR_MESSAGE);
508         return;
509       }
510       
511       reload();
512     }
513     
514   }//GEN-LAST:event_editLicenceButtonActionPerformed
515

516   private void showLicenceButtonActionPerformed(java.awt.event.ActionEvent JavaDoc evt)//GEN-FIRST:event_showLicenceButtonActionPerformed
517
{//GEN-HEADEREND:event_showLicenceButtonActionPerformed
518
String JavaDoc bundleName = getSelectedBundleName();
519     
520     if (bundleName.length() == 0)
521     {
522       JOptionPane.showMessageDialog(this, "No bundle selected", "Warning", JOptionPane.WARNING_MESSAGE);
523       return;
524     }
525     
526     Licence licence = null;
527     try
528     {
529       licence = admin.getLicence(bundleName);
530     }
531     catch (RemoteException JavaDoc e)
532     {
533       JOptionPane.showMessageDialog(this, "RMI Error occured while accessing SOFA net node:\n" + e, "Error", JOptionPane.ERROR_MESSAGE);
534       return;
535     }
536
537     if (licence != null)
538     {
539       LicenceEditDialog.showDialog(this, licence, false, "Licence File of '" + bundleName + "'");
540     }
541     else
542     {
543       JOptionPane.showMessageDialog(this, "No Licence File present for bundle '" + bundleName + "'", "No Licence File Present", JOptionPane.INFORMATION_MESSAGE);
544     }
545   }//GEN-LAST:event_showLicenceButtonActionPerformed
546

547   private void pushButtonActionPerformed(java.awt.event.ActionEvent JavaDoc evt)//GEN-FIRST:event_pushButtonActionPerformed
548
{//GEN-HEADEREND:event_pushButtonActionPerformed
549
PushBundleDialog.showDialog(this, admin, getSelectedBundleName());
550   }//GEN-LAST:event_pushButtonActionPerformed
551

552   private void testPushButtonActionPerformed(java.awt.event.ActionEvent JavaDoc evt)//GEN-FIRST:event_testPushButtonActionPerformed
553
{//GEN-HEADEREND:event_testPushButtonActionPerformed
554
TestPushBundleDialog.showDialog(this, admin, getSelectedBundleName());
555   }//GEN-LAST:event_testPushButtonActionPerformed
556

557   private void createOfferButtonActionPerformed(java.awt.event.ActionEvent JavaDoc evt)//GEN-FIRST:event_createOfferButtonActionPerformed
558
{//GEN-HEADEREND:event_createOfferButtonActionPerformed
559
CreateBundleOfferDialog.showDialog(this, admin, getSelectedBundleName());
560   }//GEN-LAST:event_createOfferButtonActionPerformed
561

562   private void deleteBinaryButtonActionPerformed(java.awt.event.ActionEvent JavaDoc evt)//GEN-FIRST:event_deleteBinaryButtonActionPerformed
563
{//GEN-HEADEREND:event_deleteBinaryButtonActionPerformed
564
if (DeleteBinaryBundleDialog.showDialog(this, admin, getSelectedBundleName())) reload();
565   }//GEN-LAST:event_deleteBinaryButtonActionPerformed
566

567   private void deleteButtonActionPerformed(java.awt.event.ActionEvent JavaDoc evt)//GEN-FIRST:event_deleteButtonActionPerformed
568
{//GEN-HEADEREND:event_deleteButtonActionPerformed
569
if (DeleteBundleDialog.showDialog(this, admin, getSelectedBundleName())) reload();
570   }//GEN-LAST:event_deleteButtonActionPerformed
571

572   private void shareButtonActionPerformed(java.awt.event.ActionEvent JavaDoc evt)//GEN-FIRST:event_shareButtonActionPerformed
573
{//GEN-HEADEREND:event_shareButtonActionPerformed
574
ShareBundleDialog.showDialog(this, admin, getSelectedBundleName());
575   }//GEN-LAST:event_shareButtonActionPerformed
576

577   private void formComponentShown(java.awt.event.ComponentEvent JavaDoc evt)//GEN-FIRST:event_formComponentShown
578
{//GEN-HEADEREND:event_formComponentShown
579
reload();
580   }//GEN-LAST:event_formComponentShown
581

582   private void installButtonActionPerformed(java.awt.event.ActionEvent JavaDoc evt)//GEN-FIRST:event_installButtonActionPerformed
583
{//GEN-HEADEREND:event_installButtonActionPerformed
584
InstallBundleDialog.showDialog(this, admin, getSelectedBundleName());
585   }//GEN-LAST:event_installButtonActionPerformed
586

587   private void contentListValueChanged(javax.swing.event.ListSelectionEvent JavaDoc evt)//GEN-FIRST:event_contentListValueChanged
588
{//GEN-HEADEREND:event_contentListValueChanged
589
int index = contentList.getSelectedIndex();
590     BundleLic bundleLic = null;
591     if (index != -1) bundleLic = (BundleLic)content.getElementAt(index);
592     
593     if (bundleLic != null)
594     {
595       binBundleCheckBox.setSelected(bundleLic.isBinBundle);
596       licenceCheckBox.setSelected(bundleLic.isLicence);
597     }
598     else
599     {
600       binBundleCheckBox.setSelected(false);
601       licenceCheckBox.setSelected(false);
602     }
603   }//GEN-LAST:event_contentListValueChanged
604

605   private void refreshButtonActionPerformed(java.awt.event.ActionEvent JavaDoc evt)//GEN-FIRST:event_refreshButtonActionPerformed
606
{//GEN-HEADEREND:event_refreshButtonActionPerformed
607
reload();
608   }//GEN-LAST:event_refreshButtonActionPerformed
609

610   private void CheckBoxNoChangeAction(java.awt.event.ActionEvent JavaDoc evt)//GEN-FIRST:event_CheckBoxNoChangeAction
611
{//GEN-HEADEREND:event_CheckBoxNoChangeAction
612
JCheckBox checkBox = (JCheckBox)evt.getSource();
613     checkBox.setSelected(!checkBox.isSelected());
614   }//GEN-LAST:event_CheckBoxNoChangeAction
615

616   
617   // Variables declaration - do not modify//GEN-BEGIN:variables
618
private javax.swing.JCheckBox JavaDoc binBundleCheckBox;
619   private javax.swing.JList JavaDoc contentList;
620   private javax.swing.JButton JavaDoc createOfferButton;
621   private javax.swing.JButton JavaDoc deleteBinaryButton;
622   private javax.swing.JButton JavaDoc deleteButton;
623   private javax.swing.JButton JavaDoc deleteLicenceButton;
624   private javax.swing.JButton JavaDoc editLicenceButton;
625   private javax.swing.JButton JavaDoc installButton;
626   private javax.swing.JPanel JavaDoc jPanel1;
627   private javax.swing.JPanel JavaDoc jPanel2;
628   private javax.swing.JPanel JavaDoc jPanel3;
629   private javax.swing.JPanel JavaDoc jPanel4;
630   private javax.swing.JPanel JavaDoc jPanel5;
631   private javax.swing.JScrollPane JavaDoc jScrollPane1;
632   private javax.swing.JCheckBox JavaDoc licenceCheckBox;
633   private javax.swing.JButton JavaDoc pullButton;
634   private javax.swing.JButton JavaDoc pushButton;
635   private javax.swing.JButton JavaDoc refreshButton;
636   private javax.swing.JButton JavaDoc shareButton;
637   private javax.swing.JButton JavaDoc showLicenceButton;
638   private javax.swing.JButton JavaDoc testPullButton;
639   private javax.swing.JButton JavaDoc testPushButton;
640   // End of variables declaration//GEN-END:variables
641

642 }
643
Popular Tags