-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu1.java
381 lines (310 loc) · 17.9 KB
/
menu1.java
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
import javax.swing.plaf.basic.BasicInternalFrameUI;
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JInternalFrame.java to edit this template
*/
/**
*
* @author Dilber Taştan
*/
public class menu1 extends javax.swing.JInternalFrame {
/**
* Creates new form menu1
*/
public menu1() {
initComponents();
this.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0) );
BasicInternalFrameUI ui=(BasicInternalFrameUI)this.getUI();
ui.setNorthPane(null);
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jPanel2 = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
jPanel4 = new javax.swing.JPanel();
jLabel5 = new javax.swing.JLabel();
jPanel5 = new javax.swing.JPanel();
jLabel6 = new javax.swing.JLabel();
jPanel1 = new javax.swing.JPanel();
jLabel4 = new javax.swing.JLabel();
jPanel3 = new javax.swing.JPanel();
jLabel2 = new javax.swing.JLabel();
jPanel6 = new javax.swing.JPanel();
jLabel3 = new javax.swing.JLabel();
jPanel7 = new javax.swing.JPanel();
jLabel7 = new javax.swing.JLabel();
jPanel8 = new javax.swing.JPanel();
jLabel8 = new javax.swing.JLabel();
jPanel9 = new javax.swing.JPanel();
jLabel9 = new javax.swing.JLabel();
btningilizce = new javax.swing.JButton();
btnjaponca = new javax.swing.JButton();
btnhintçe = new javax.swing.JButton();
btnkorece = new javax.swing.JButton();
btnarapça = new javax.swing.JButton();
btnitalyanca = new javax.swing.JButton();
btnfransızca = new javax.swing.JButton();
btnalman = new javax.swing.JButton();
jLabel10 = new javax.swing.JLabel();
setMinimumSize(new java.awt.Dimension(1070, 600));
setOpaque(true);
setPreferredSize(new java.awt.Dimension(900, 510));
getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
jPanel2.setBackground(new java.awt.Color(204, 204, 204,210));
jPanel2.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
jLabel1.setFont(new java.awt.Font("Segoe UI", 3, 24)); // NOI18N
jLabel1.setText("Hangi dilin sohbetine girmek istersiniz?");
jLabel1.setToolTipText("");
jPanel2.add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 90, 470, 53));
jPanel4.setBackground(new java.awt.Color(204,204,204,210));
jLabel5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/united-kingdom (1).png"))); // NOI18N
javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
jPanel4.setLayout(jPanel4Layout);
jPanel4Layout.setHorizontalGroup(
jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
jPanel4Layout.setVerticalGroup(
jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
jPanel2.add(jPanel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(500, 180, -1, -1));
jPanel5.setBackground(new java.awt.Color(204,204,204,210));
jLabel6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/japan (1).png"))); // NOI18N
javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
jPanel5.setLayout(jPanel5Layout);
jPanel5Layout.setHorizontalGroup(
jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
jPanel5Layout.setVerticalGroup(
jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
jPanel2.add(jPanel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(710, 180, -1, -1));
jPanel1.setBackground(new java.awt.Color(204,204,204,210));
jLabel4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/france (1).png"))); // NOI18N
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
jPanel2.add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(280, 180, -1, -1));
jPanel3.setBackground(new java.awt.Color(204, 204, 204,210));
jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/germany (3) (1).png"))); // NOI18N
javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
jPanel3.setLayout(jPanel3Layout);
jPanel3Layout.setHorizontalGroup(
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, 107, Short.MAX_VALUE)
);
jPanel3Layout.setVerticalGroup(
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
jPanel2.add(jPanel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 180, -1, -1));
jPanel6.setBackground(new java.awt.Color(204,204,204,210));
jLabel3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/flag (1).png"))); // NOI18N
javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6);
jPanel6.setLayout(jPanel6Layout);
jPanel6Layout.setHorizontalGroup(
jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, 101, Short.MAX_VALUE)
);
jPanel6Layout.setVerticalGroup(
jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
jPanel2.add(jPanel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 350, -1, -1));
jPanel7.setBackground(new java.awt.Color(204,204,204,210));
jLabel7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/south-korea (1).png"))); // NOI18N
javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
jPanel7.setLayout(jPanel7Layout);
jPanel7Layout.setHorizontalGroup(
jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, 101, Short.MAX_VALUE)
);
jPanel7Layout.setVerticalGroup(
jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
jPanel2.add(jPanel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(280, 350, -1, -1));
jPanel8.setBackground(new java.awt.Color(204,204,204,210));
jLabel8.setBackground(new java.awt.Color(255, 255, 255));
jLabel8.setIcon(new javax.swing.ImageIcon(getClass().getResource("/saudi-arabia (1).png"))); // NOI18N
javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
jPanel8.setLayout(jPanel8Layout);
jPanel8Layout.setHorizontalGroup(
jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, 101, Short.MAX_VALUE)
);
jPanel8Layout.setVerticalGroup(
jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
jPanel2.add(jPanel8, new org.netbeans.lib.awtextra.AbsoluteConstraints(500, 350, -1, -1));
jPanel9.setBackground(new java.awt.Color(204,204,204,210));
jLabel9.setIcon(new javax.swing.ImageIcon(getClass().getResource("/italy (1).png"))); // NOI18N
javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
jPanel9.setLayout(jPanel9Layout);
jPanel9Layout.setHorizontalGroup(
jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel9, javax.swing.GroupLayout.DEFAULT_SIZE, 101, Short.MAX_VALUE)
);
jPanel9Layout.setVerticalGroup(
jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
jPanel2.add(jPanel9, new org.netbeans.lib.awtextra.AbsoluteConstraints(710, 350, -1, -1));
btningilizce.setBackground(new java.awt.Color(255, 204, 204));
btningilizce.setFont(new java.awt.Font("Segoe UI", 3, 12)); // NOI18N
btningilizce.setText("İngilizce");
btningilizce.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btningilizceActionPerformed(evt);
}
});
jPanel2.add(btningilizce, new org.netbeans.lib.awtextra.AbsoluteConstraints(510, 290, -1, -1));
btnjaponca.setBackground(new java.awt.Color(255, 204, 204));
btnjaponca.setFont(new java.awt.Font("Segoe UI", 3, 12)); // NOI18N
btnjaponca.setText("Japonca");
btnjaponca.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btnjaponcaActionPerformed(evt);
}
});
jPanel2.add(btnjaponca, new org.netbeans.lib.awtextra.AbsoluteConstraints(720, 290, -1, -1));
btnhintçe.setBackground(new java.awt.Color(255, 204, 204));
btnhintçe.setFont(new java.awt.Font("Segoe UI", 3, 12)); // NOI18N
btnhintçe.setText("Hintçe");
btnhintçe.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btnhintçeActionPerformed(evt);
}
});
jPanel2.add(btnhintçe, new org.netbeans.lib.awtextra.AbsoluteConstraints(80, 460, -1, -1));
btnkorece.setBackground(new java.awt.Color(255, 204, 204));
btnkorece.setFont(new java.awt.Font("Segoe UI", 3, 12)); // NOI18N
btnkorece.setText("Korece");
btnkorece.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btnkoreceActionPerformed(evt);
}
});
jPanel2.add(btnkorece, new org.netbeans.lib.awtextra.AbsoluteConstraints(290, 460, -1, -1));
btnarapça.setBackground(new java.awt.Color(255, 204, 204));
btnarapça.setFont(new java.awt.Font("Segoe UI", 3, 12)); // NOI18N
btnarapça.setText("Arapça");
btnarapça.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btnarapçaActionPerformed(evt);
}
});
jPanel2.add(btnarapça, new org.netbeans.lib.awtextra.AbsoluteConstraints(510, 460, -1, -1));
btnitalyanca.setBackground(new java.awt.Color(255, 204, 204));
btnitalyanca.setFont(new java.awt.Font("Segoe UI", 3, 12)); // NOI18N
btnitalyanca.setText("İtalyanca");
btnitalyanca.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btnitalyancaActionPerformed(evt);
}
});
jPanel2.add(btnitalyanca, new org.netbeans.lib.awtextra.AbsoluteConstraints(720, 460, -1, -1));
btnfransızca.setBackground(new java.awt.Color(255, 204, 204));
btnfransızca.setFont(new java.awt.Font("Segoe UI", 3, 12)); // NOI18N
btnfransızca.setText("Fransızca");
btnfransızca.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btnfransızcaActionPerformed(evt);
}
});
jPanel2.add(btnfransızca, new org.netbeans.lib.awtextra.AbsoluteConstraints(290, 290, -1, -1));
btnalman.setBackground(new java.awt.Color(255, 204, 204));
btnalman.setFont(new java.awt.Font("Segoe UI", 3, 12)); // NOI18N
btnalman.setText("Almanca");
btnalman.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btnalmanActionPerformed(evt);
}
});
jPanel2.add(btnalman, new org.netbeans.lib.awtextra.AbsoluteConstraints(80, 290, -1, -1));
getContentPane().add(jPanel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(-10, -30, 1070, 540));
jLabel10.setBackground(new java.awt.Color(204, 204, 204));
jLabel10.setIcon(new javax.swing.ImageIcon(getClass().getResource("/arkaplan (1).jpg"))); // NOI18N
jLabel10.setText("jLabel10");
getContentPane().add(jLabel10, new org.netbeans.lib.awtextra.AbsoluteConstraints(-10, -30, 910, 590));
pack();
}// </editor-fold>//GEN-END:initComponents
private void btnfransızcaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnfransızcaActionPerformed
fransızca fransızca =new fransızca();
fransızca.setVisible(true);
}//GEN-LAST:event_btnfransızcaActionPerformed
private void btningilizceActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btningilizceActionPerformed
ingilizce ingilizce =new ingilizce();
ingilizce.setVisible(true);
}//GEN-LAST:event_btningilizceActionPerformed
private void btnjaponcaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnjaponcaActionPerformed
japonca japonca =new japonca();
japonca.setVisible(true);
}//GEN-LAST:event_btnjaponcaActionPerformed
private void btnhintçeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnhintçeActionPerformed
hintçe hintçe=new hintçe();
hintçe.setVisible(true);
}//GEN-LAST:event_btnhintçeActionPerformed
private void btnkoreceActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnkoreceActionPerformed
korece korece =new korece();
korece.setVisible(true);
}//GEN-LAST:event_btnkoreceActionPerformed
private void btnarapçaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnarapçaActionPerformed
arapça arapça =new arapça();
arapça.setVisible(true);
}//GEN-LAST:event_btnarapçaActionPerformed
private void btnitalyancaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnitalyancaActionPerformed
italyanca italyanca =new italyanca();
italyanca.setVisible(true);
}//GEN-LAST:event_btnitalyancaActionPerformed
private void btnalmanActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnalmanActionPerformed
almanca almanca =new almanca();
almanca.setVisible(true);
}//GEN-LAST:event_btnalmanActionPerformed
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton btnalman;
private javax.swing.JButton btnarapça;
private javax.swing.JButton btnfransızca;
private javax.swing.JButton btnhintçe;
private javax.swing.JButton btningilizce;
private javax.swing.JButton btnitalyanca;
private javax.swing.JButton btnjaponca;
private javax.swing.JButton btnkorece;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel10;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JLabel jLabel7;
private javax.swing.JLabel jLabel8;
private javax.swing.JLabel jLabel9;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel2;
private javax.swing.JPanel jPanel3;
private javax.swing.JPanel jPanel4;
private javax.swing.JPanel jPanel5;
private javax.swing.JPanel jPanel6;
private javax.swing.JPanel jPanel7;
private javax.swing.JPanel jPanel8;
private javax.swing.JPanel jPanel9;
// End of variables declaration//GEN-END:variables
}