diff options
Diffstat (limited to 'client/trunk/src')
6 files changed, 377 insertions, 1 deletions
diff --git a/client/trunk/src/com/fourisland/instadisc/AddSubscriptionForm.form b/client/trunk/src/com/fourisland/instadisc/AddSubscriptionForm.form new file mode 100644 index 0000000..3435493 --- /dev/null +++ b/client/trunk/src/com/fourisland/instadisc/AddSubscriptionForm.form | |||
@@ -0,0 +1,123 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
2 | |||
3 | <Form version="1.5" maxVersion="1.5" type="org.netbeans.modules.form.forminfo.JDialogFormInfo"> | ||
4 | <Properties> | ||
5 | <Property name="defaultCloseOperation" type="int" value="2"/> | ||
6 | <Property name="name" type="java.lang.String" value="Form" noResource="true"/> | ||
7 | </Properties> | ||
8 | <SyntheticProperties> | ||
9 | <SyntheticProperty name="formSizePolicy" type="int" value="1"/> | ||
10 | </SyntheticProperties> | ||
11 | <AuxValues> | ||
12 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="2"/> | ||
13 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="true"/> | ||
14 | <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> | ||
15 | <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> | ||
16 | <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> | ||
17 | <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> | ||
18 | <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> | ||
19 | <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> | ||
20 | </AuxValues> | ||
21 | |||
22 | <Layout> | ||
23 | <DimensionLayout dim="0"> | ||
24 | <Group type="103" groupAlignment="0" attributes="0"> | ||
25 | <Group type="102" attributes="0"> | ||
26 | <EmptySpace max="-2" attributes="0"/> | ||
27 | <Group type="103" groupAlignment="0" max="-2" attributes="0"> | ||
28 | <Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/> | ||
29 | <Group type="102" alignment="0" attributes="0"> | ||
30 | <EmptySpace min="12" pref="12" max="12" attributes="0"/> | ||
31 | <Group type="103" groupAlignment="0" max="-2" attributes="0"> | ||
32 | <Group type="102" alignment="0" attributes="1"> | ||
33 | <Component id="jLabel3" min="-2" max="-2" attributes="0"/> | ||
34 | <EmptySpace max="-2" attributes="0"/> | ||
35 | <Component id="jTextField1" max="32767" attributes="0"/> | ||
36 | </Group> | ||
37 | <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/> | ||
38 | </Group> | ||
39 | </Group> | ||
40 | <Group type="102" alignment="1" attributes="1"> | ||
41 | <Component id="jLabel4" max="32767" attributes="0"/> | ||
42 | <EmptySpace max="-2" attributes="0"/> | ||
43 | <Component id="jButton2" min="-2" max="-2" attributes="0"/> | ||
44 | <EmptySpace max="-2" attributes="0"/> | ||
45 | <Component id="jButton1" min="-2" max="-2" attributes="0"/> | ||
46 | </Group> | ||
47 | </Group> | ||
48 | <EmptySpace max="-2" attributes="0"/> | ||
49 | </Group> | ||
50 | </Group> | ||
51 | </DimensionLayout> | ||
52 | <DimensionLayout dim="1"> | ||
53 | <Group type="103" groupAlignment="0" attributes="0"> | ||
54 | <Group type="102" alignment="0" attributes="0"> | ||
55 | <EmptySpace max="-2" attributes="0"/> | ||
56 | <Component id="jLabel1" min="-2" max="-2" attributes="0"/> | ||
57 | <EmptySpace max="-2" attributes="0"/> | ||
58 | <Component id="jLabel2" min="-2" max="-2" attributes="0"/> | ||
59 | <EmptySpace type="separate" max="-2" attributes="0"/> | ||
60 | <Group type="103" groupAlignment="3" attributes="0"> | ||
61 | <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> | ||
62 | <Component id="jTextField1" alignment="3" min="-2" max="-2" attributes="0"/> | ||
63 | </Group> | ||
64 | <EmptySpace max="-2" attributes="0"/> | ||
65 | <Group type="103" groupAlignment="3" attributes="0"> | ||
66 | <Component id="jButton1" alignment="3" min="-2" max="-2" attributes="0"/> | ||
67 | <Component id="jButton2" alignment="3" min="-2" max="-2" attributes="0"/> | ||
68 | <Component id="jLabel4" alignment="3" pref="29" max="32767" attributes="0"/> | ||
69 | </Group> | ||
70 | <EmptySpace max="32767" attributes="0"/> | ||
71 | </Group> | ||
72 | </Group> | ||
73 | </DimensionLayout> | ||
74 | </Layout> | ||
75 | <SubComponents> | ||
76 | <Component class="javax.swing.JLabel" name="jLabel1"> | ||
77 | <Properties> | ||
78 | <Property name="font" type="java.awt.Font" resourceKey="jLabel1.font"/> | ||
79 | <Property name="text" type="java.lang.String" resourceKey="jLabel1.text"/> | ||
80 | <Property name="name" type="java.lang.String" value="jLabel1" noResource="true"/> | ||
81 | </Properties> | ||
82 | </Component> | ||
83 | <Component class="javax.swing.JLabel" name="jLabel2"> | ||
84 | <Properties> | ||
85 | <Property name="text" type="java.lang.String" resourceKey="jLabel2.text"/> | ||
86 | <Property name="name" type="java.lang.String" value="jLabel2" noResource="true"/> | ||
87 | </Properties> | ||
88 | </Component> | ||
89 | <Component class="javax.swing.JLabel" name="jLabel3"> | ||
90 | <Properties> | ||
91 | <Property name="text" type="java.lang.String" resourceKey="jLabel3.text"/> | ||
92 | <Property name="name" type="java.lang.String" value="jLabel3" noResource="true"/> | ||
93 | </Properties> | ||
94 | </Component> | ||
95 | <Component class="javax.swing.JTextField" name="jTextField1"> | ||
96 | <Properties> | ||
97 | <Property name="text" type="java.lang.String" resourceKey="jTextField1.text"/> | ||
98 | <Property name="name" type="java.lang.String" value="jTextField1" noResource="true"/> | ||
99 | </Properties> | ||
100 | </Component> | ||
101 | <Component class="javax.swing.JButton" name="jButton1"> | ||
102 | <Properties> | ||
103 | <Property name="text" type="java.lang.String" resourceKey="jButton1.text"/> | ||
104 | <Property name="name" type="java.lang.String" value="jButton1" noResource="true"/> | ||
105 | </Properties> | ||
106 | </Component> | ||
107 | <Component class="javax.swing.JButton" name="jButton2"> | ||
108 | <Properties> | ||
109 | <Property name="text" type="java.lang.String" resourceKey="jButton2.text"/> | ||
110 | <Property name="name" type="java.lang.String" value="jButton2" noResource="true"/> | ||
111 | </Properties> | ||
112 | <Events> | ||
113 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton2ActionPerformed"/> | ||
114 | </Events> | ||
115 | </Component> | ||
116 | <Component class="javax.swing.JLabel" name="jLabel4"> | ||
117 | <Properties> | ||
118 | <Property name="text" type="java.lang.String" resourceKey="jLabel4.text"/> | ||
119 | <Property name="name" type="java.lang.String" value="jLabel4" noResource="true"/> | ||
120 | </Properties> | ||
121 | </Component> | ||
122 | </SubComponents> | ||
123 | </Form> | ||
diff --git a/client/trunk/src/com/fourisland/instadisc/AddSubscriptionForm.java b/client/trunk/src/com/fourisland/instadisc/AddSubscriptionForm.java new file mode 100644 index 0000000..149bea1 --- /dev/null +++ b/client/trunk/src/com/fourisland/instadisc/AddSubscriptionForm.java | |||
@@ -0,0 +1,154 @@ | |||
1 | /* | ||
2 | * AddSubscriptionForm.java | ||
3 | * | ||
4 | * Created on July 29, 2008, 6:45 PM | ||
5 | */ | ||
6 | |||
7 | package com.fourisland.instadisc; | ||
8 | |||
9 | import java.net.MalformedURLException; | ||
10 | import java.net.URL; | ||
11 | import java.util.logging.Level; | ||
12 | import java.util.logging.Logger; | ||
13 | |||
14 | /** | ||
15 | * | ||
16 | * @author hatkirby | ||
17 | */ | ||
18 | public class AddSubscriptionForm extends javax.swing.JDialog { | ||
19 | |||
20 | /** Creates new form AddSubscriptionForm */ | ||
21 | public AddSubscriptionForm(java.awt.Frame parent, boolean modal) { | ||
22 | super(parent, modal); | ||
23 | initComponents(); | ||
24 | } | ||
25 | |||
26 | /** This method is called from within the constructor to | ||
27 | * initialize the form. | ||
28 | * WARNING: Do NOT modify this code. The content of this method is | ||
29 | * always regenerated by the Form Editor. | ||
30 | */ | ||
31 | // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents | ||
32 | private void initComponents() { | ||
33 | |||
34 | jLabel1 = new javax.swing.JLabel(); | ||
35 | jLabel2 = new javax.swing.JLabel(); | ||
36 | jLabel3 = new javax.swing.JLabel(); | ||
37 | jTextField1 = new javax.swing.JTextField(); | ||
38 | jButton1 = new javax.swing.JButton(); | ||
39 | jButton2 = new javax.swing.JButton(); | ||
40 | jLabel4 = new javax.swing.JLabel(); | ||
41 | |||
42 | setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); | ||
43 | setName("Form"); // NOI18N | ||
44 | |||
45 | org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(com.fourisland.instadisc.InstaDiscApp.class).getContext().getResourceMap(AddSubscriptionForm.class); | ||
46 | jLabel1.setFont(resourceMap.getFont("jLabel1.font")); // NOI18N | ||
47 | jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N | ||
48 | jLabel1.setName("jLabel1"); // NOI18N | ||
49 | |||
50 | jLabel2.setText(resourceMap.getString("jLabel2.text")); // NOI18N | ||
51 | jLabel2.setName("jLabel2"); // NOI18N | ||
52 | |||
53 | jLabel3.setText(resourceMap.getString("jLabel3.text")); // NOI18N | ||
54 | jLabel3.setName("jLabel3"); // NOI18N | ||
55 | |||
56 | jTextField1.setText(resourceMap.getString("jTextField1.text")); // NOI18N | ||
57 | jTextField1.setName("jTextField1"); // NOI18N | ||
58 | |||
59 | jButton1.setText(resourceMap.getString("jButton1.text")); // NOI18N | ||
60 | jButton1.setName("jButton1"); // NOI18N | ||
61 | |||
62 | jButton2.setText(resourceMap.getString("jButton2.text")); // NOI18N | ||
63 | jButton2.setName("jButton2"); // NOI18N | ||
64 | jButton2.addActionListener(new java.awt.event.ActionListener() { | ||
65 | public void actionPerformed(java.awt.event.ActionEvent evt) { | ||
66 | jButton2ActionPerformed(evt); | ||
67 | } | ||
68 | }); | ||
69 | |||
70 | jLabel4.setText(resourceMap.getString("jLabel4.text")); // NOI18N | ||
71 | jLabel4.setName("jLabel4"); // NOI18N | ||
72 | |||
73 | javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); | ||
74 | getContentPane().setLayout(layout); | ||
75 | layout.setHorizontalGroup( | ||
76 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) | ||
77 | .addGroup(layout.createSequentialGroup() | ||
78 | .addContainerGap() | ||
79 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) | ||
80 | .addComponent(jLabel1) | ||
81 | .addGroup(layout.createSequentialGroup() | ||
82 | .addGap(12, 12, 12) | ||
83 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) | ||
84 | .addGroup(layout.createSequentialGroup() | ||
85 | .addComponent(jLabel3) | ||
86 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) | ||
87 | .addComponent(jTextField1)) | ||
88 | .addComponent(jLabel2))) | ||
89 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() | ||
90 | .addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) | ||
91 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) | ||
92 | .addComponent(jButton2) | ||
93 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) | ||
94 | .addComponent(jButton1))) | ||
95 | .addContainerGap()) | ||
96 | ); | ||
97 | layout.setVerticalGroup( | ||
98 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) | ||
99 | .addGroup(layout.createSequentialGroup() | ||
100 | .addContainerGap() | ||
101 | .addComponent(jLabel1) | ||
102 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) | ||
103 | .addComponent(jLabel2) | ||
104 | .addGap(18, 18, 18) | ||
105 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) | ||
106 | .addComponent(jLabel3) | ||
107 | .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) | ||
108 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) | ||
109 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) | ||
110 | .addComponent(jButton1) | ||
111 | .addComponent(jButton2) | ||
112 | .addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, 29, Short.MAX_VALUE)) | ||
113 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) | ||
114 | ); | ||
115 | |||
116 | pack(); | ||
117 | }// </editor-fold>//GEN-END:initComponents | ||
118 | |||
119 | private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed | ||
120 | try { | ||
121 | URL url = new URL(jTextField1.getText());//GEN-LAST:event_jButton2ActionPerformed | ||
122 | } catch (MalformedURLException ex) { | ||
123 | jLabel4.setText("Error: "); | ||
124 | } | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * @param args the command line arguments | ||
129 | */ | ||
130 | public static void main(String args[]) { | ||
131 | java.awt.EventQueue.invokeLater(new Runnable() { | ||
132 | public void run() { | ||
133 | AddSubscriptionForm dialog = new AddSubscriptionForm(new javax.swing.JFrame(), true); | ||
134 | dialog.addWindowListener(new java.awt.event.WindowAdapter() { | ||
135 | public void windowClosing(java.awt.event.WindowEvent e) { | ||
136 | System.exit(0); | ||
137 | } | ||
138 | }); | ||
139 | dialog.setVisible(true); | ||
140 | } | ||
141 | }); | ||
142 | } | ||
143 | |||
144 | // Variables declaration - do not modify//GEN-BEGIN:variables | ||
145 | private javax.swing.JButton jButton1; | ||
146 | private javax.swing.JButton jButton2; | ||
147 | private javax.swing.JLabel jLabel1; | ||
148 | private javax.swing.JLabel jLabel2; | ||
149 | private javax.swing.JLabel jLabel3; | ||
150 | private javax.swing.JLabel jLabel4; | ||
151 | private javax.swing.JTextField jTextField1; | ||
152 | // End of variables declaration//GEN-END:variables | ||
153 | |||
154 | } | ||
diff --git a/client/trunk/src/com/fourisland/instadisc/InstaDiscView.form b/client/trunk/src/com/fourisland/instadisc/InstaDiscView.form index d88434a..ec8d250 100644 --- a/client/trunk/src/com/fourisland/instadisc/InstaDiscView.form +++ b/client/trunk/src/com/fourisland/instadisc/InstaDiscView.form | |||
@@ -65,6 +65,26 @@ | |||
65 | <AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="0"/> | 65 | <AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="0"/> |
66 | </AuxValues> | 66 | </AuxValues> |
67 | <SubComponents> | 67 | <SubComponents> |
68 | <MenuItem class="javax.swing.JMenuItem" name="jMenuItem1"> | ||
69 | <Properties> | ||
70 | <Property name="text" type="java.lang.String" resourceKey="jMenuItem1.text"/> | ||
71 | <Property name="name" type="java.lang.String" value="jMenuItem1" noResource="true"/> | ||
72 | </Properties> | ||
73 | <Events> | ||
74 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem1ActionPerformed"/> | ||
75 | </Events> | ||
76 | </MenuItem> | ||
77 | <MenuItem class="javax.swing.JMenuItem" name="jMenuItem2"> | ||
78 | <Properties> | ||
79 | <Property name="text" type="java.lang.String" resourceKey="jMenuItem2.text"/> | ||
80 | <Property name="name" type="java.lang.String" value="jMenuItem2" noResource="true"/> | ||
81 | </Properties> | ||
82 | </MenuItem> | ||
83 | <MenuItem class="javax.swing.JSeparator" name="jSeparator1"> | ||
84 | <Properties> | ||
85 | <Property name="name" type="java.lang.String" value="jSeparator1" noResource="true"/> | ||
86 | </Properties> | ||
87 | </MenuItem> | ||
68 | <MenuItem class="javax.swing.JMenuItem" name="exitMenuItem"> | 88 | <MenuItem class="javax.swing.JMenuItem" name="exitMenuItem"> |
69 | <Properties> | 89 | <Properties> |
70 | <Property name="action" type="javax.swing.Action" editor="org.netbeans.modules.swingapp.ActionEditor"> | 90 | <Property name="action" type="javax.swing.Action" editor="org.netbeans.modules.swingapp.ActionEditor"> |
@@ -79,6 +99,26 @@ | |||
79 | </MenuItem> | 99 | </MenuItem> |
80 | </SubComponents> | 100 | </SubComponents> |
81 | </Menu> | 101 | </Menu> |
102 | <Menu class="javax.swing.JMenu" name="jMenu1"> | ||
103 | <Properties> | ||
104 | <Property name="text" type="java.lang.String" resourceKey="jMenu1.text"/> | ||
105 | <Property name="name" type="java.lang.String" value="jMenu1" noResource="true"/> | ||
106 | </Properties> | ||
107 | <SubComponents> | ||
108 | <MenuItem class="javax.swing.JMenuItem" name="jMenuItem3"> | ||
109 | <Properties> | ||
110 | <Property name="text" type="java.lang.String" resourceKey="jMenuItem3.text"/> | ||
111 | <Property name="name" type="java.lang.String" value="jMenuItem3" noResource="true"/> | ||
112 | </Properties> | ||
113 | </MenuItem> | ||
114 | <MenuItem class="javax.swing.JMenuItem" name="jMenuItem4"> | ||
115 | <Properties> | ||
116 | <Property name="text" type="java.lang.String" resourceKey="jMenuItem4.text"/> | ||
117 | <Property name="name" type="java.lang.String" value="jMenuItem4" noResource="true"/> | ||
118 | </Properties> | ||
119 | </MenuItem> | ||
120 | </SubComponents> | ||
121 | </Menu> | ||
82 | <Menu class="javax.swing.JMenu" name="helpMenu"> | 122 | <Menu class="javax.swing.JMenu" name="helpMenu"> |
83 | <Properties> | 123 | <Properties> |
84 | <Property name="text" type="java.lang.String" resourceKey="helpMenu.text"/> | 124 | <Property name="text" type="java.lang.String" resourceKey="helpMenu.text"/> |
diff --git a/client/trunk/src/com/fourisland/instadisc/InstaDiscView.java b/client/trunk/src/com/fourisland/instadisc/InstaDiscView.java index e2d0058..d2362dd 100644 --- a/client/trunk/src/com/fourisland/instadisc/InstaDiscView.java +++ b/client/trunk/src/com/fourisland/instadisc/InstaDiscView.java | |||
@@ -122,7 +122,13 @@ public class InstaDiscView extends FrameView { | |||
122 | jList1 = new javax.swing.JList(); | 122 | jList1 = new javax.swing.JList(); |
123 | menuBar = new javax.swing.JMenuBar(); | 123 | menuBar = new javax.swing.JMenuBar(); |
124 | javax.swing.JMenu fileMenu = new javax.swing.JMenu(); | 124 | javax.swing.JMenu fileMenu = new javax.swing.JMenu(); |
125 | jMenuItem1 = new javax.swing.JMenuItem(); | ||
126 | jMenuItem2 = new javax.swing.JMenuItem(); | ||
127 | jSeparator1 = new javax.swing.JSeparator(); | ||
125 | javax.swing.JMenuItem exitMenuItem = new javax.swing.JMenuItem(); | 128 | javax.swing.JMenuItem exitMenuItem = new javax.swing.JMenuItem(); |
129 | jMenu1 = new javax.swing.JMenu(); | ||
130 | jMenuItem3 = new javax.swing.JMenuItem(); | ||
131 | jMenuItem4 = new javax.swing.JMenuItem(); | ||
126 | javax.swing.JMenu helpMenu = new javax.swing.JMenu(); | 132 | javax.swing.JMenu helpMenu = new javax.swing.JMenu(); |
127 | javax.swing.JMenuItem aboutMenuItem = new javax.swing.JMenuItem(); | 133 | javax.swing.JMenuItem aboutMenuItem = new javax.swing.JMenuItem(); |
128 | statusPanel = new javax.swing.JPanel(); | 134 | statusPanel = new javax.swing.JPanel(); |
@@ -161,6 +167,22 @@ public class InstaDiscView extends FrameView { | |||
161 | fileMenu.setText(resourceMap.getString("fileMenu.text")); // NOI18N | 167 | fileMenu.setText(resourceMap.getString("fileMenu.text")); // NOI18N |
162 | fileMenu.setName("fileMenu"); // NOI18N | 168 | fileMenu.setName("fileMenu"); // NOI18N |
163 | 169 | ||
170 | jMenuItem1.setText(resourceMap.getString("jMenuItem1.text")); // NOI18N | ||
171 | jMenuItem1.setName("jMenuItem1"); // NOI18N | ||
172 | jMenuItem1.addActionListener(new java.awt.event.ActionListener() { | ||
173 | public void actionPerformed(java.awt.event.ActionEvent evt) { | ||
174 | jMenuItem1ActionPerformed(evt); | ||
175 | } | ||
176 | }); | ||
177 | fileMenu.add(jMenuItem1); | ||
178 | |||
179 | jMenuItem2.setText(resourceMap.getString("jMenuItem2.text")); // NOI18N | ||
180 | jMenuItem2.setName("jMenuItem2"); // NOI18N | ||
181 | fileMenu.add(jMenuItem2); | ||
182 | |||
183 | jSeparator1.setName("jSeparator1"); // NOI18N | ||
184 | fileMenu.add(jSeparator1); | ||
185 | |||
164 | javax.swing.ActionMap actionMap = org.jdesktop.application.Application.getInstance(com.fourisland.instadisc.InstaDiscApp.class).getContext().getActionMap(InstaDiscView.class, this); | 186 | javax.swing.ActionMap actionMap = org.jdesktop.application.Application.getInstance(com.fourisland.instadisc.InstaDiscApp.class).getContext().getActionMap(InstaDiscView.class, this); |
165 | exitMenuItem.setAction(actionMap.get("quit")); // NOI18N | 187 | exitMenuItem.setAction(actionMap.get("quit")); // NOI18N |
166 | exitMenuItem.setName("exitMenuItem"); // NOI18N | 188 | exitMenuItem.setName("exitMenuItem"); // NOI18N |
@@ -168,6 +190,19 @@ public class InstaDiscView extends FrameView { | |||
168 | 190 | ||
169 | menuBar.add(fileMenu); | 191 | menuBar.add(fileMenu); |
170 | 192 | ||
193 | jMenu1.setText(resourceMap.getString("jMenu1.text")); // NOI18N | ||
194 | jMenu1.setName("jMenu1"); // NOI18N | ||
195 | |||
196 | jMenuItem3.setText(resourceMap.getString("jMenuItem3.text")); // NOI18N | ||
197 | jMenuItem3.setName("jMenuItem3"); // NOI18N | ||
198 | jMenu1.add(jMenuItem3); | ||
199 | |||
200 | jMenuItem4.setText(resourceMap.getString("jMenuItem4.text")); // NOI18N | ||
201 | jMenuItem4.setName("jMenuItem4"); // NOI18N | ||
202 | jMenu1.add(jMenuItem4); | ||
203 | |||
204 | menuBar.add(jMenu1); | ||
205 | |||
171 | helpMenu.setText(resourceMap.getString("helpMenu.text")); // NOI18N | 206 | helpMenu.setText(resourceMap.getString("helpMenu.text")); // NOI18N |
172 | helpMenu.setName("helpMenu"); // NOI18N | 207 | helpMenu.setName("helpMenu"); // NOI18N |
173 | 208 | ||
@@ -232,9 +267,19 @@ public class InstaDiscView extends FrameView { | |||
232 | } | 267 | } |
233 | }//GEN-LAST:event_jList1MouseClicked | 268 | }//GEN-LAST:event_jList1MouseClicked |
234 | 269 | ||
270 | private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem1ActionPerformed | ||
271 | // TODO add your handling code here: | ||
272 | }//GEN-LAST:event_jMenuItem1ActionPerformed | ||
273 | |||
235 | // Variables declaration - do not modify//GEN-BEGIN:variables | 274 | // Variables declaration - do not modify//GEN-BEGIN:variables |
236 | private javax.swing.JList jList1; | 275 | private javax.swing.JList jList1; |
276 | private javax.swing.JMenu jMenu1; | ||
277 | private javax.swing.JMenuItem jMenuItem1; | ||
278 | private javax.swing.JMenuItem jMenuItem2; | ||
279 | private javax.swing.JMenuItem jMenuItem3; | ||
280 | private javax.swing.JMenuItem jMenuItem4; | ||
237 | private javax.swing.JScrollPane jScrollPane1; | 281 | private javax.swing.JScrollPane jScrollPane1; |
282 | private javax.swing.JSeparator jSeparator1; | ||
238 | private javax.swing.JPanel mainPanel; | 283 | private javax.swing.JPanel mainPanel; |
239 | private javax.swing.JMenuBar menuBar; | 284 | private javax.swing.JMenuBar menuBar; |
240 | private javax.swing.JProgressBar progressBar; | 285 | private javax.swing.JProgressBar progressBar; |
diff --git a/client/trunk/src/com/fourisland/instadisc/resources/AddSubscriptionForm.properties b/client/trunk/src/com/fourisland/instadisc/resources/AddSubscriptionForm.properties new file mode 100644 index 0000000..1bafc98 --- /dev/null +++ b/client/trunk/src/com/fourisland/instadisc/resources/AddSubscriptionForm.properties | |||
@@ -0,0 +1,9 @@ | |||
1 | jLabel1.text=Add a Subscription | ||
2 | #NOI18N | ||
3 | jLabel1.font=DejaVu Sans-Plain-18 | ||
4 | jLabel2.text=<HTML>To recieve InstaDisc notifications, you need to subscribe<BR>to a website's content. If a website supports InstaDisc<BR>it should be advertising a link to an "InstaDisc Subscription<BR>File". To subscribe to that website's content, copy the URL<BR>into the box below. | ||
5 | jLabel3.text=Subscription File URL: | ||
6 | jTextField1.text= | ||
7 | jButton1.text=Cancel | ||
8 | jButton2.text=OK | ||
9 | jLabel4.text= | ||
diff --git a/client/trunk/src/com/fourisland/instadisc/resources/InstaDiscView.properties b/client/trunk/src/com/fourisland/instadisc/resources/InstaDiscView.properties index e1c2be6..80a0b3e 100644 --- a/client/trunk/src/com/fourisland/instadisc/resources/InstaDiscView.properties +++ b/client/trunk/src/com/fourisland/instadisc/resources/InstaDiscView.properties | |||
@@ -29,4 +29,9 @@ StatusBar.busyIcons[10] = busyicons/busy-icon10.png | |||
29 | StatusBar.busyIcons[11] = busyicons/busy-icon11.png | 29 | StatusBar.busyIcons[11] = busyicons/busy-icon11.png |
30 | StatusBar.busyIcons[12] = busyicons/busy-icon12.png | 30 | StatusBar.busyIcons[12] = busyicons/busy-icon12.png |
31 | StatusBar.busyIcons[13] = busyicons/busy-icon13.png | 31 | StatusBar.busyIcons[13] = busyicons/busy-icon13.png |
32 | StatusBar.busyIcons[14] = busyicons/busy-icon14.png \ No newline at end of file | 32 | StatusBar.busyIcons[14] = busyicons/busy-icon14.png |
33 | jMenuItem1.text=Add Subscription | ||
34 | jMenuItem2.text=Manage Subscriptions | ||
35 | jMenu1.text=Tools | ||
36 | jMenuItem3.text=Manage Filters | ||
37 | jMenuItem4.text=Request Retained Items | ||