Skip to content

Commit e1faf15

Browse files
author
tonikelope
committed
7.70
LANGUAGE GUI UPDATED #498 #397
1 parent a0522ba commit e1faf15

File tree

13 files changed

+1404
-114
lines changed

13 files changed

+1404
-114
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.tonikelope</groupId>
55
<artifactId>MegaBasterd</artifactId>
6-
<version>7.69</version>
6+
<version>7.70</version>
77
<packaging>jar</packaging>
88
<repositories>
99
<repository>

src/main/java/com/tonikelope/megabasterd/AboutDialog.form

+117-5
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@
2828
<Layout>
2929
<DimensionLayout dim="0">
3030
<Group type="103" groupAlignment="0" attributes="0">
31-
<Group type="102" attributes="0">
31+
<Group type="102" alignment="0" attributes="0">
3232
<EmptySpace max="-2" attributes="0"/>
3333
<Group type="103" groupAlignment="0" attributes="0">
34+
<Component id="jPanel1" max="32767" attributes="0"/>
3435
<Component id="subtitle_label" max="32767" attributes="0"/>
3536
<Group type="102" alignment="0" attributes="0">
3637
<Component id="title_label" max="32767" attributes="0"/>
@@ -78,7 +79,7 @@
7879
</Group>
7980
<EmptySpace type="separate" max="-2" attributes="0"/>
8081
<Component id="subtitle_label" min="-2" max="-2" attributes="0"/>
81-
<EmptySpace max="32767" attributes="0"/>
82+
<EmptySpace type="separate" max="-2" attributes="0"/>
8283
<Group type="103" groupAlignment="1" attributes="0">
8384
<Component id="made_in_spain_label" min="-2" max="-2" attributes="0"/>
8485
<Component id="dot_com_label" alignment="1" min="-2" max="-2" attributes="0"/>
@@ -93,7 +94,9 @@
9394
</Group>
9495
<EmptySpace max="-2" attributes="0"/>
9596
<Component id="java_version" min="-2" max="-2" attributes="0"/>
96-
<EmptySpace max="-2" attributes="0"/>
97+
<EmptySpace type="unrelated" max="-2" attributes="0"/>
98+
<Component id="jPanel1" min="-2" max="-2" attributes="0"/>
99+
<EmptySpace max="32767" attributes="0"/>
97100
</Group>
98101
</Group>
99102
</DimensionLayout>
@@ -197,9 +200,9 @@
197200
<Property name="doubleBuffered" type="boolean" value="true"/>
198201
</Properties>
199202
<Events>
200-
<EventHandler event="mouseReleased" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="author_webpage_labelMouseReleased"/>
201-
<EventHandler event="mouseExited" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="author_webpage_labelMouseExited"/>
202203
<EventHandler event="mouseEntered" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="author_webpage_labelMouseEntered"/>
204+
<EventHandler event="mouseExited" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="author_webpage_labelMouseExited"/>
205+
<EventHandler event="mouseReleased" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="author_webpage_labelMouseReleased"/>
203206
</Events>
204207
</Component>
205208
<Component class="javax.swing.JLabel" name="mb_label">
@@ -258,5 +261,114 @@
258261
</Property>
259262
</Properties>
260263
</Component>
264+
<Container class="javax.swing.JPanel" name="jPanel1">
265+
266+
<Layout>
267+
<DimensionLayout dim="0">
268+
<Group type="103" groupAlignment="0" attributes="0">
269+
<Group type="102" alignment="0" attributes="0">
270+
<EmptySpace max="-2" attributes="0"/>
271+
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
272+
<EmptySpace type="separate" max="32767" attributes="0"/>
273+
<Component id="jLabel2" min="-2" max="-2" attributes="0"/>
274+
<EmptySpace type="separate" max="32767" attributes="0"/>
275+
<Component id="jLabel3" min="-2" max="-2" attributes="0"/>
276+
<EmptySpace type="separate" max="32767" attributes="0"/>
277+
<Component id="jLabel4" min="-2" max="-2" attributes="0"/>
278+
<EmptySpace type="separate" max="32767" attributes="0"/>
279+
<Component id="jLabel5" min="-2" max="-2" attributes="0"/>
280+
<EmptySpace type="separate" max="32767" attributes="0"/>
281+
<Component id="jLabel6" min="-2" max="-2" attributes="0"/>
282+
<EmptySpace max="-2" attributes="0"/>
283+
</Group>
284+
</Group>
285+
</DimensionLayout>
286+
<DimensionLayout dim="1">
287+
<Group type="103" groupAlignment="0" attributes="0">
288+
<Group type="102" attributes="0">
289+
<EmptySpace max="-2" attributes="0"/>
290+
<Group type="103" groupAlignment="3" attributes="0">
291+
<Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
292+
<Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
293+
<Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/>
294+
<Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/>
295+
<Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/>
296+
<Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/>
297+
</Group>
298+
<EmptySpace max="-2" attributes="0"/>
299+
</Group>
300+
</Group>
301+
</DimensionLayout>
302+
</Layout>
303+
<SubComponents>
304+
<Component class="javax.swing.JLabel" name="jLabel5">
305+
<Properties>
306+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
307+
<Font name="Dialog" size="16" style="0"/>
308+
</Property>
309+
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
310+
<Image iconType="3" name="/images/flags/turkey.png"/>
311+
</Property>
312+
<Property name="text" type="java.lang.String" value="FabrieI"/>
313+
</Properties>
314+
</Component>
315+
<Component class="javax.swing.JLabel" name="jLabel2">
316+
<Properties>
317+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
318+
<Font name="Dialog" size="16" style="0"/>
319+
</Property>
320+
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
321+
<Image iconType="3" name="/images/flags/germany.png"/>
322+
</Property>
323+
<Property name="text" type="java.lang.String" value="NieckLikesCode"/>
324+
</Properties>
325+
</Component>
326+
<Component class="javax.swing.JLabel" name="jLabel3">
327+
<Properties>
328+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
329+
<Font name="Dialog" size="16" style="0"/>
330+
</Property>
331+
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
332+
<Image iconType="3" name="/images/flags/hungary.png"/>
333+
</Property>
334+
<Property name="text" type="java.lang.String" value="Roschach96 "/>
335+
</Properties>
336+
</Component>
337+
<Component class="javax.swing.JLabel" name="jLabel1">
338+
<Properties>
339+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
340+
<Font name="Dialog" size="16" style="0"/>
341+
</Property>
342+
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
343+
<Image iconType="3" name="/images/flags/china.png"/>
344+
</Property>
345+
<Property name="text" type="java.lang.String" value="linkea131"/>
346+
<Property name="doubleBuffered" type="boolean" value="true"/>
347+
</Properties>
348+
</Component>
349+
<Component class="javax.swing.JLabel" name="jLabel4">
350+
<Properties>
351+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
352+
<Font name="Dialog" size="16" style="0"/>
353+
</Property>
354+
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
355+
<Image iconType="3" name="/images/flags/italy.png"/>
356+
</Property>
357+
<Property name="text" type="java.lang.String" value="bovirus "/>
358+
</Properties>
359+
</Component>
360+
<Component class="javax.swing.JLabel" name="jLabel6">
361+
<Properties>
362+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
363+
<Font name="Dialog" size="16" style="0"/>
364+
</Property>
365+
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
366+
<Image iconType="3" name="/images/flags/vietnam.png"/>
367+
</Property>
368+
<Property name="text" type="java.lang.String" value="rattybox"/>
369+
</Properties>
370+
</Component>
371+
</SubComponents>
372+
</Container>
261373
</SubComponents>
262374
</Form>

src/main/java/com/tonikelope/megabasterd/AboutDialog.java

+82-7
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ private void initComponents() {
6868
check_version_button = new javax.swing.JButton();
6969
dot_com_label = new javax.swing.JLabel();
7070
java_version = new javax.swing.JLabel();
71+
jPanel1 = new javax.swing.JPanel();
72+
jLabel5 = new javax.swing.JLabel();
73+
jLabel2 = new javax.swing.JLabel();
74+
jLabel3 = new javax.swing.JLabel();
75+
jLabel1 = new javax.swing.JLabel();
76+
jLabel4 = new javax.swing.JLabel();
77+
jLabel6 = new javax.swing.JLabel();
7178

7279
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
7380
setTitle("About");
@@ -142,14 +149,14 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
142149
author_webpage_label.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
143150
author_webpage_label.setDoubleBuffered(true);
144151
author_webpage_label.addMouseListener(new java.awt.event.MouseAdapter() {
145-
public void mouseReleased(java.awt.event.MouseEvent evt) {
146-
author_webpage_labelMouseReleased(evt);
152+
public void mouseEntered(java.awt.event.MouseEvent evt) {
153+
author_webpage_labelMouseEntered(evt);
147154
}
148155
public void mouseExited(java.awt.event.MouseEvent evt) {
149156
author_webpage_labelMouseExited(evt);
150157
}
151-
public void mouseEntered(java.awt.event.MouseEvent evt) {
152-
author_webpage_labelMouseEntered(evt);
158+
public void mouseReleased(java.awt.event.MouseEvent evt) {
159+
author_webpage_labelMouseReleased(evt);
153160
}
154161
});
155162

@@ -164,7 +171,7 @@ public void mouseReleased(java.awt.event.MouseEvent evt) {
164171

165172
check_version_button.setFont(new java.awt.Font("Dialog", 1, 14)); // NOI18N
166173
check_version_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8-restart-30.png"))); // NOI18N
167-
check_version_button.setText("Check for updates");
174+
check_version_button.setText("Check version");
168175
check_version_button.setDoubleBuffered(true);
169176
check_version_button.addActionListener(new java.awt.event.ActionListener() {
170177
public void actionPerformed(java.awt.event.ActionEvent evt) {
@@ -185,13 +192,72 @@ public void mouseReleased(java.awt.event.MouseEvent evt) {
185192
java_version.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
186193
java_version.setText(System.getProperty("java.vm.name")+" "+System.getProperty("java.version"));
187194

195+
jLabel5.setFont(new java.awt.Font("Dialog", 0, 16)); // NOI18N
196+
jLabel5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/flags/turkey.png"))); // NOI18N
197+
jLabel5.setText("FabrieI");
198+
199+
jLabel2.setFont(new java.awt.Font("Dialog", 0, 16)); // NOI18N
200+
jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/flags/germany.png"))); // NOI18N
201+
jLabel2.setText("NieckLikesCode");
202+
203+
jLabel3.setFont(new java.awt.Font("Dialog", 0, 16)); // NOI18N
204+
jLabel3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/flags/hungary.png"))); // NOI18N
205+
jLabel3.setText("Roschach96 ");
206+
207+
jLabel1.setFont(new java.awt.Font("Dialog", 0, 16)); // NOI18N
208+
jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/flags/china.png"))); // NOI18N
209+
jLabel1.setText("linkea131");
210+
jLabel1.setDoubleBuffered(true);
211+
212+
jLabel4.setFont(new java.awt.Font("Dialog", 0, 16)); // NOI18N
213+
jLabel4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/flags/italy.png"))); // NOI18N
214+
jLabel4.setText("bovirus ");
215+
216+
jLabel6.setFont(new java.awt.Font("Dialog", 0, 16)); // NOI18N
217+
jLabel6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/flags/vietnam.png"))); // NOI18N
218+
jLabel6.setText("rattybox");
219+
220+
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
221+
jPanel1.setLayout(jPanel1Layout);
222+
jPanel1Layout.setHorizontalGroup(
223+
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
224+
.addGroup(jPanel1Layout.createSequentialGroup()
225+
.addContainerGap()
226+
.addComponent(jLabel1)
227+
.addGap(18, 18, Short.MAX_VALUE)
228+
.addComponent(jLabel2)
229+
.addGap(18, 18, Short.MAX_VALUE)
230+
.addComponent(jLabel3)
231+
.addGap(18, 18, Short.MAX_VALUE)
232+
.addComponent(jLabel4)
233+
.addGap(18, 18, Short.MAX_VALUE)
234+
.addComponent(jLabel5)
235+
.addGap(18, 18, Short.MAX_VALUE)
236+
.addComponent(jLabel6)
237+
.addContainerGap())
238+
);
239+
jPanel1Layout.setVerticalGroup(
240+
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
241+
.addGroup(jPanel1Layout.createSequentialGroup()
242+
.addContainerGap()
243+
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
244+
.addComponent(jLabel1)
245+
.addComponent(jLabel2)
246+
.addComponent(jLabel3)
247+
.addComponent(jLabel4)
248+
.addComponent(jLabel5)
249+
.addComponent(jLabel6))
250+
.addContainerGap())
251+
);
252+
188253
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
189254
getContentPane().setLayout(layout);
190255
layout.setHorizontalGroup(
191256
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
192257
.addGroup(layout.createSequentialGroup()
193258
.addContainerGap()
194259
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
260+
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
195261
.addComponent(subtitle_label, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
196262
.addGroup(layout.createSequentialGroup()
197263
.addComponent(title_label, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
@@ -228,7 +294,7 @@ public void mouseReleased(java.awt.event.MouseEvent evt) {
228294
.addComponent(check_version_button))))
229295
.addGap(18, 18, 18)
230296
.addComponent(subtitle_label)
231-
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
297+
.addGap(18, 18, 18)
232298
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
233299
.addComponent(made_in_spain_label)
234300
.addComponent(dot_com_label)
@@ -240,7 +306,9 @@ public void mouseReleased(java.awt.event.MouseEvent evt) {
240306
.addComponent(author_webpage_label)))
241307
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
242308
.addComponent(java_version)
243-
.addContainerGap())
309+
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
310+
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
311+
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
244312
);
245313

246314
pack();
@@ -353,6 +421,13 @@ private void subtitle_labelMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIR
353421
private javax.swing.JLabel author_webpage_label;
354422
private javax.swing.JButton check_version_button;
355423
private javax.swing.JLabel dot_com_label;
424+
private javax.swing.JLabel jLabel1;
425+
private javax.swing.JLabel jLabel2;
426+
private javax.swing.JLabel jLabel3;
427+
private javax.swing.JLabel jLabel4;
428+
private javax.swing.JLabel jLabel5;
429+
private javax.swing.JLabel jLabel6;
430+
private javax.swing.JPanel jPanel1;
356431
private javax.swing.JLabel java_version;
357432
private javax.swing.JLabel made_in_spain_label;
358433
private javax.swing.JLabel mb_label;

0 commit comments

Comments
 (0)