diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-07-31 22:42:31 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-07-31 22:42:31 +0000 |
commit | c8f58a7ad8b809a14c861f8bf57c8c822cc4545c (patch) | |
tree | da1afc444477bddf1a0bafac03534961893d42db /client | |
parent | b37b47f9fb4442ba574f70cf9c70134e612eadce (diff) | |
download | instadisc-c8f58a7ad8b809a14c861f8bf57c8c822cc4545c.tar.gz instadisc-c8f58a7ad8b809a14c861f8bf57c8c822cc4545c.tar.bz2 instadisc-c8f58a7ad8b809a14c861f8bf57c8c822cc4545c.zip |
Client: Finished the "Request Retained Items" menu item
Diffstat (limited to 'client')
-rw-r--r-- | client/trunk/src/com/fourisland/instadisc/InstaDiscView.form | 3 | ||||
-rw-r--r-- | client/trunk/src/com/fourisland/instadisc/InstaDiscView.java | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/client/trunk/src/com/fourisland/instadisc/InstaDiscView.form b/client/trunk/src/com/fourisland/instadisc/InstaDiscView.form index f4be5c3..30ff6fb 100644 --- a/client/trunk/src/com/fourisland/instadisc/InstaDiscView.form +++ b/client/trunk/src/com/fourisland/instadisc/InstaDiscView.form | |||
@@ -122,6 +122,9 @@ | |||
122 | <Property name="text" type="java.lang.String" resourceKey="jMenuItem4.text"/> | 122 | <Property name="text" type="java.lang.String" resourceKey="jMenuItem4.text"/> |
123 | <Property name="name" type="java.lang.String" value="jMenuItem4" noResource="true"/> | 123 | <Property name="name" type="java.lang.String" value="jMenuItem4" noResource="true"/> |
124 | </Properties> | 124 | </Properties> |
125 | <Events> | ||
126 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem4ActionPerformed"/> | ||
127 | </Events> | ||
125 | </MenuItem> | 128 | </MenuItem> |
126 | <MenuItem class="javax.swing.JMenuItem" name="jMenuItem5"> | 129 | <MenuItem class="javax.swing.JMenuItem" name="jMenuItem5"> |
127 | <Properties> | 130 | <Properties> |
diff --git a/client/trunk/src/com/fourisland/instadisc/InstaDiscView.java b/client/trunk/src/com/fourisland/instadisc/InstaDiscView.java index e2f6dda..ad56681 100644 --- a/client/trunk/src/com/fourisland/instadisc/InstaDiscView.java +++ b/client/trunk/src/com/fourisland/instadisc/InstaDiscView.java | |||
@@ -228,6 +228,11 @@ public class InstaDiscView extends FrameView { | |||
228 | 228 | ||
229 | jMenuItem4.setText(resourceMap.getString("jMenuItem4.text")); // NOI18N | 229 | jMenuItem4.setText(resourceMap.getString("jMenuItem4.text")); // NOI18N |
230 | jMenuItem4.setName("jMenuItem4"); // NOI18N | 230 | jMenuItem4.setName("jMenuItem4"); // NOI18N |
231 | jMenuItem4.addActionListener(new java.awt.event.ActionListener() { | ||
232 | public void actionPerformed(java.awt.event.ActionEvent evt) { | ||
233 | jMenuItem4ActionPerformed(evt); | ||
234 | } | ||
235 | }); | ||
231 | jMenu1.add(jMenuItem4); | 236 | jMenu1.add(jMenuItem4); |
232 | 237 | ||
233 | jMenuItem5.setText(resourceMap.getString("jMenuItem5.text")); // NOI18N | 238 | jMenuItem5.setText(resourceMap.getString("jMenuItem5.text")); // NOI18N |
@@ -325,6 +330,11 @@ public class InstaDiscView extends FrameView { | |||
325 | mff.setVisible(true); | 330 | mff.setVisible(true); |
326 | }//GEN-LAST:event_jMenuItem3ActionPerformed | 331 | }//GEN-LAST:event_jMenuItem3ActionPerformed |
327 | 332 | ||
333 | private void jMenuItem4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem4ActionPerformed | ||
334 | XmlRpc xmlrpc = new XmlRpc("requestRetained"); | ||
335 | xmlrpc.execute(); | ||
336 | }//GEN-LAST:event_jMenuItem4ActionPerformed | ||
337 | |||
328 | // Variables declaration - do not modify//GEN-BEGIN:variables | 338 | // Variables declaration - do not modify//GEN-BEGIN:variables |
329 | private javax.swing.JList jList1; | 339 | private javax.swing.JList jList1; |
330 | private javax.swing.JMenu jMenu1; | 340 | private javax.swing.JMenu jMenu1; |