From c8f58a7ad8b809a14c861f8bf57c8c822cc4545c Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 31 Jul 2008 22:42:31 +0000 Subject: Client: Finished the "Request Retained Items" menu item --- client/trunk/src/com/fourisland/instadisc/InstaDiscView.form | 3 +++ client/trunk/src/com/fourisland/instadisc/InstaDiscView.java | 10 ++++++++++ 2 files changed, 13 insertions(+) (limited to 'client/trunk/src/com') 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 @@ + + + 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 { jMenuItem4.setText(resourceMap.getString("jMenuItem4.text")); // NOI18N jMenuItem4.setName("jMenuItem4"); // NOI18N + jMenuItem4.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + jMenuItem4ActionPerformed(evt); + } + }); jMenu1.add(jMenuItem4); jMenuItem5.setText(resourceMap.getString("jMenuItem5.text")); // NOI18N @@ -325,6 +330,11 @@ public class InstaDiscView extends FrameView { mff.setVisible(true); }//GEN-LAST:event_jMenuItem3ActionPerformed + private void jMenuItem4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem4ActionPerformed + XmlRpc xmlrpc = new XmlRpc("requestRetained"); + xmlrpc.execute(); + }//GEN-LAST:event_jMenuItem4ActionPerformed + // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JList jList1; private javax.swing.JMenu jMenu1; -- cgit 1.4.1