-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPreviaFrutas.java
More file actions
522 lines (455 loc) · 23.2 KB
/
Copy pathPreviaFrutas.java
File metadata and controls
522 lines (455 loc) · 23.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
package mathmaster;
import mathmaster.util.Alumno;
import mathmaster.util.Fuente;
import mathmaster.util.BaseDatos;
import mathmaster.util.NavegadorFrames;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.MediaTracker;
import java.awt.Toolkit;
import java.util.ArrayList;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import mathmaster.util.Configurador;
import mathmaster.util.Constantes;
public class PreviaFrutas extends javax.swing.JPanel {
private JFrame frame;
private BaseDatos baseDatos;
private Alumno alumno;
private boolean textook;
private Image image;
private int contador=0;
private ArrayList<String>listaI= new ArrayList<>();
private boolean ingles,español,fruta,plasti;
private Configurador conf;
public PreviaFrutas(JFrame f) {
Font myFont = Fuente.getFont(Fuente.CUSTOM1, Font.BOLD, 40);
conf = Configurador.getInstance();
this.frame=f;
this.baseDatos=conf.getBaseDatos();
this.alumno=conf.getAlumnoActual();
this.ingles=conf.isIngles();
this.español=conf.isEspanol();
this.fruta=conf.isFruta();
this.plasti=conf.isPlasti();
pintaFondo();
initComponents();
if(ingles){
info.setIcon(new ImageIcon(getClass().getResource("/mathmaster/infoUK.png")));
jLabel1.setIcon(new ImageIcon(getClass().getResource("/mathmaster/conectarUK.png")));
botonreset.setToolTipText("Reset");
}
f.setIconImage (new ImageIcon(getClass().getResource("/mathmaster/icono2.png")).getImage());
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
cierraVentana();
}
private void cierraVentana(){
frame.addWindowListener(new java.awt.event.WindowAdapter() {
@Override
public void windowClosing(java.awt.event.WindowEvent evt) {
int choice = 0;
if (ingles){
choice = JOptionPane.showOptionDialog(null, "¿Do you want to quit?", "Quit", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE, null, null, null);
}else if (español){
choice = JOptionPane.showOptionDialog(null, "¿Quieres salir?", "Salir", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE, null, null, null);
}
if (choice == JOptionPane.YES_OPTION){
//baseDatos.escribirFichero();
System.exit(0);
}else
frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
}
});
}
private void pintaFondo(){
MediaTracker tracker=new MediaTracker(this);
image=Toolkit.getDefaultToolkit().getImage(getClass().getResource("/mathmaster/fondo2.png"));
tracker.addImage(this.image, 0);
try {
tracker.waitForID(0);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
protected void paintComponent(Graphics g) {
super.paintComponent(g);
if (image != null)
g.drawImage(image, 0,0,this.getWidth(),this.getHeight(),this);
}
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jButton1 = new javax.swing.JButton();
jButton2 = new javax.swing.JButton();
jTextField1 = new javax.swing.JTextField();
left = new javax.swing.JLabel();
up = new javax.swing.JLabel();
click = new javax.swing.JLabel();
down = new javax.swing.JLabel();
right = new javax.swing.JLabel();
space = new javax.swing.JLabel();
botonmanzana = new javax.swing.JButton();
botonplatano = new javax.swing.JButton();
botonnaranja = new javax.swing.JButton();
botonkiwi = new javax.swing.JButton();
botonpera = new javax.swing.JButton();
botonlimon = new javax.swing.JButton();
botontomate = new javax.swing.JButton();
botonberenjena = new javax.swing.JButton();
botonzanahoria = new javax.swing.JButton();
botonreset = new javax.swing.JButton();
info = new javax.swing.JLabel();
jLabel1 = new javax.swing.JLabel();
setPreferredSize(new java.awt.Dimension(2147483647, 2147483647));
addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
formMouseClicked(evt);
}
});
setLayout(null);
jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/atras2.png"))); // NOI18N
jButton1.setContentAreaFilled(false);
jButton1.setFocusable(false);
jButton1.setPressedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/atraspres.png"))); // NOI18N
jButton1.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/atrasselec.png"))); // NOI18N
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
add(jButton1);
jButton1.setBounds(340, 600, 60, 70);
jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/siguiente.png"))); // NOI18N
jButton2.setContentAreaFilled(false);
jButton2.setFocusable(false);
jButton2.setPressedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/siguientepress.png"))); // NOI18N
jButton2.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/siguienteselec.png"))); // NOI18N
jButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton2ActionPerformed(evt);
}
});
add(jButton2);
jButton2.setBounds(620, 600, 70, 70);
jTextField1.setEditable(false);
jTextField1.setBorder(null);
jTextField1.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyPressed(java.awt.event.KeyEvent evt) {
jTextField1KeyPressed(evt);
}
});
add(jTextField1);
jTextField1.setBounds(480, 110, 0, 14);
left.setFont(new java.awt.Font("Comic Sans MS", 1, 18)); // NOI18N
left.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
left.setText("1");
add(left);
left.setBounds(200, 170, 70, 70);
up.setFont(new java.awt.Font("Comic Sans MS", 1, 18)); // NOI18N
up.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
up.setText("2");
add(up);
up.setBounds(430, 140, 70, 70);
click.setFont(new java.awt.Font("Comic Sans MS", 1, 18)); // NOI18N
click.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
click.setText("3");
add(click);
click.setBounds(730, 200, 70, 70);
down.setFont(new java.awt.Font("Comic Sans MS", 1, 18)); // NOI18N
down.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
down.setText("4");
add(down);
down.setBounds(200, 410, 70, 70);
right.setFont(new java.awt.Font("Comic Sans MS", 1, 18)); // NOI18N
right.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
right.setText("5");
add(right);
right.setBounds(490, 440, 70, 70);
space.setFont(new java.awt.Font("Comic Sans MS", 1, 18)); // NOI18N
space.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
space.setText("6");
add(space);
space.setBounds(750, 450, 70, 70);
botonmanzana.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/manzana.png"))); // NOI18N
botonmanzana.setContentAreaFilled(false);
botonmanzana.setPressedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/manzanapress.png"))); // NOI18N
botonmanzana.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/manzanaselec.png"))); // NOI18N
botonmanzana.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
botonmanzanaActionPerformed(evt);
}
});
add(botonmanzana);
botonmanzana.setBounds(130, 510, 80, 80);
botonplatano.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/platano.png"))); // NOI18N
botonplatano.setContentAreaFilled(false);
botonplatano.setPressedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/platanopress.png"))); // NOI18N
botonplatano.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/platanoselec.png"))); // NOI18N
botonplatano.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
botonplatanoActionPerformed(evt);
}
});
add(botonplatano);
botonplatano.setBounds(210, 510, 83, 80);
botonnaranja.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/naranja.png"))); // NOI18N
botonnaranja.setContentAreaFilled(false);
botonnaranja.setPressedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/naranjapress.png"))); // NOI18N
botonnaranja.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/naranjaselec.png"))); // NOI18N
botonnaranja.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
botonnaranjaActionPerformed(evt);
}
});
add(botonnaranja);
botonnaranja.setBounds(280, 510, 80, 80);
botonkiwi.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/kiwi.png"))); // NOI18N
botonkiwi.setContentAreaFilled(false);
botonkiwi.setPressedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/kiwipress.png"))); // NOI18N
botonkiwi.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/kiwiselec.png"))); // NOI18N
botonkiwi.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
botonkiwiActionPerformed(evt);
}
});
add(botonkiwi);
botonkiwi.setBounds(360, 510, 80, 79);
botonpera.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/pera.png"))); // NOI18N
botonpera.setContentAreaFilled(false);
botonpera.setPressedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/perapress.png"))); // NOI18N
botonpera.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/peraselec.png"))); // NOI18N
botonpera.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
botonperaActionPerformed(evt);
}
});
add(botonpera);
botonpera.setBounds(440, 510, 80, 79);
botonlimon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/limon.png"))); // NOI18N
botonlimon.setContentAreaFilled(false);
botonlimon.setPressedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/limonpress.png"))); // NOI18N
botonlimon.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/limonselec.png"))); // NOI18N
botonlimon.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
botonlimonActionPerformed(evt);
}
});
add(botonlimon);
botonlimon.setBounds(810, 510, 80, 80);
botontomate.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/tomate.png"))); // NOI18N
botontomate.setContentAreaFilled(false);
botontomate.setPressedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/tomatepress.png"))); // NOI18N
botontomate.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/tomateselec.png"))); // NOI18N
botontomate.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
botontomateActionPerformed(evt);
}
});
add(botontomate);
botontomate.setBounds(530, 510, 80, 80);
botonberenjena.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/berenjena.png"))); // NOI18N
botonberenjena.setContentAreaFilled(false);
botonberenjena.setPressedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/berenjenapress.png"))); // NOI18N
botonberenjena.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/berenjenaselec.png"))); // NOI18N
botonberenjena.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
botonberenjenaActionPerformed(evt);
}
});
add(botonberenjena);
botonberenjena.setBounds(630, 510, 80, 80);
botonzanahoria.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/zanahoria.png"))); // NOI18N
botonzanahoria.setContentAreaFilled(false);
botonzanahoria.setPressedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/zanahoriapress.png"))); // NOI18N
botonzanahoria.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/zanahoriaselec.png"))); // NOI18N
botonzanahoria.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
botonzanahoriaActionPerformed(evt);
}
});
add(botonzanahoria);
botonzanahoria.setBounds(720, 510, 80, 80);
botonreset.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/reset.png"))); // NOI18N
botonreset.setToolTipText("Reestablecer");
botonreset.setContentAreaFilled(false);
botonreset.setPressedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/resetpress.png"))); // NOI18N
botonreset.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/resetselec.png"))); // NOI18N
botonreset.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
botonresetActionPerformed(evt);
}
});
add(botonreset);
botonreset.setBounds(490, 600, 60, 70);
info.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/info.png"))); // NOI18N
add(info);
info.setBounds(30, 220, 200, 210);
jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/mathmaster/conectarES.png"))); // NOI18N
add(jLabel1);
jLabel1.setBounds(-10, 0, 1030, 720);
}// </editor-fold>//GEN-END:initComponents
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
NavegadorFrames.navegarAtras();
this.setVisible(false);
this.frame.dispose();
}//GEN-LAST:event_jButton1ActionPerformed
private void jTextField1KeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTextField1KeyPressed
}//GEN-LAST:event_jTextField1KeyPressed
private void formMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_formMouseClicked
}//GEN-LAST:event_formMouseClicked
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
if (contador<6){
if (español)
JOptionPane.showMessageDialog(null,"Rellena todo antes de continuar","Pulsa en las frutas",JOptionPane.INFORMATION_MESSAGE);
else if (ingles)
JOptionPane.showMessageDialog(null,"Fill all before continue","Click on food",JOptionPane.INFORMATION_MESSAGE);
}else{
NavegadorFrames.getInstance().navegarA(NavegadorFrames.ELEGIR_OPERACION);
this.frame.dispose();
}
}//GEN-LAST:event_jButton2ActionPerformed
private void frutaSeleccionada(String nombreFruta){
listaI.add(contador, nombreFruta);
conf.getInterfazMakey().addTecla(contador, nombreFruta);
desactivaFruta(nombreFruta);
contador++;
//Si llega al maximo
if(contador == Constantes.MAXIMO_TECLAS){
botonmanzana.setEnabled(false);
botonpera.setEnabled(false);
botonkiwi.setEnabled(false);
botonlimon.setEnabled(false);
botonnaranja.setEnabled(false);
botonplatano.setEnabled(false);
botontomate.setEnabled(false);
botonberenjena.setEnabled(false);
botonzanahoria.setEnabled(false);
}
}
private void desactivaFruta(String nombreFruta){
JLabel etiquetaBoton = null;
switch(contador){
case 0:
etiquetaBoton = left;
break;
case 1:
etiquetaBoton = up;
break;
case 2:
etiquetaBoton = click;
break;
case 3:
etiquetaBoton = down;
break;
case 4:
etiquetaBoton = right;
break;
case 5:
etiquetaBoton = space;
break;
default:
etiquetaBoton = left;
}
etiquetaBoton.setText("");
etiquetaBoton.setIcon(new ImageIcon(getClass().getResource("/mathmaster/"+ nombreFruta +".png")));
}
private void botonmanzanaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonmanzanaActionPerformed
String nombreFruta = "manzana";
botonmanzana.setEnabled(false);
frutaSeleccionada(nombreFruta);
}//GEN-LAST:event_botonmanzanaActionPerformed
private void botonplatanoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonplatanoActionPerformed
String nombreFruta = "platano";
botonplatano.setEnabled(false);
frutaSeleccionada(nombreFruta);
}//GEN-LAST:event_botonplatanoActionPerformed
private void botonnaranjaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonnaranjaActionPerformed
String nombreFruta = "naranja";
botonnaranja.setEnabled(false);
frutaSeleccionada(nombreFruta);
}//GEN-LAST:event_botonnaranjaActionPerformed
private void botonkiwiActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonkiwiActionPerformed
String nombreFruta = "kiwi";
botonkiwi.setEnabled(false);
frutaSeleccionada(nombreFruta);
}//GEN-LAST:event_botonkiwiActionPerformed
private void botonperaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonperaActionPerformed
String nombreFruta = "pera";
botonpera.setEnabled(false);
frutaSeleccionada(nombreFruta);
}//GEN-LAST:event_botonperaActionPerformed
private void botonlimonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonlimonActionPerformed
String nombreFruta = "limon";
botonlimon.setEnabled(false);
frutaSeleccionada(nombreFruta);
}//GEN-LAST:event_botonlimonActionPerformed
private void botontomateActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botontomateActionPerformed
String nombreFruta = "tomate";
botontomate.setEnabled(false);
frutaSeleccionada(nombreFruta);
}//GEN-LAST:event_botontomateActionPerformed
private void botonberenjenaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonberenjenaActionPerformed
String nombreFruta = "berenjena";
botonberenjena.setEnabled(false);
frutaSeleccionada(nombreFruta);
}//GEN-LAST:event_botonberenjenaActionPerformed
private void botonzanahoriaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonzanahoriaActionPerformed
String nombreFruta = "zanahoria";
botonzanahoria.setEnabled(false);
frutaSeleccionada(nombreFruta);
}//GEN-LAST:event_botonzanahoriaActionPerformed
private void botonresetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonresetActionPerformed
contador=0;
botonmanzana.setEnabled(true);
botonpera.setEnabled(true);
botonkiwi.setEnabled(true);
botonlimon.setEnabled(true);
botonnaranja.setEnabled(true);
botonplatano.setEnabled(true);
botontomate.setEnabled(true);
botonberenjena.setEnabled(true);
botonzanahoria.setEnabled(true);
up.setIcon(null);
left.setIcon(null);
right.setIcon(null);
down.setIcon(null);
click.setIcon(null);
space.setIcon(null);
space.setIcon(null);
up.setText("2");
left.setText("1");
right.setText("5");
down.setText("4");
click.setText("3");
space.setText("6");
listaI.clear();
conf.getInterfazMakey().vaciarTeclas();
}//GEN-LAST:event_botonresetActionPerformed
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton botonberenjena;
private javax.swing.JButton botonkiwi;
private javax.swing.JButton botonlimon;
private javax.swing.JButton botonmanzana;
private javax.swing.JButton botonnaranja;
private javax.swing.JButton botonpera;
private javax.swing.JButton botonplatano;
private javax.swing.JButton botonreset;
private javax.swing.JButton botontomate;
private javax.swing.JButton botonzanahoria;
private javax.swing.JLabel click;
private javax.swing.JLabel down;
private javax.swing.JLabel info;
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JLabel jLabel1;
private javax.swing.JTextField jTextField1;
private javax.swing.JLabel left;
private javax.swing.JLabel right;
private javax.swing.JLabel space;
private javax.swing.JLabel up;
// End of variables declaration//GEN-END:variables
}