|
@@ -74,6 +74,8 @@ public class frame extends JFrame implements ListSelectionListener {
|
74
|
74
|
private JButton download = new JButton();
|
75
|
75
|
private JLabel jLabel4 = new JLabel();
|
76
|
76
|
private JTextField frameRemaining = new JTextField();
|
|
77
|
+ private JLabel frmLngthLbl = new JLabel();
|
|
78
|
+ private JTextField frmLngthTxt = new JTextField();
|
77
|
79
|
// Ende Attribute
|
78
|
80
|
|
79
|
81
|
private cubeWorker worker = new cubeWorker();
|
|
@@ -262,7 +264,8 @@ public class frame extends JFrame implements ListSelectionListener {
|
262
|
264
|
frameList.setModel(frameListModel);
|
263
|
265
|
//frameListModel.addElement();
|
264
|
266
|
cp.add(frameListScrollPane);
|
265
|
|
- frameUp.setBounds(544, 8, 107, 33);
|
|
267
|
+
|
|
268
|
+ frameUp.setBounds(544, 8, 107, 28);
|
266
|
269
|
frameUp.setText("Move up");
|
267
|
270
|
frameUp.setFont(new Font("Dialog", Font.PLAIN, 13));
|
268
|
271
|
cp.add(frameUp);
|
|
@@ -272,7 +275,7 @@ public class frame extends JFrame implements ListSelectionListener {
|
272
|
275
|
}
|
273
|
276
|
});
|
274
|
277
|
|
275
|
|
- frameDown.setBounds(544, 152, 107, 33);
|
|
278
|
+ frameDown.setBounds(544, 122, 107, 28);
|
276
|
279
|
frameDown.setText("Move down");
|
277
|
280
|
frameDown.setFont(new Font("Dialog", Font.PLAIN, 13));
|
278
|
281
|
cp.add(frameDown);
|
|
@@ -282,7 +285,7 @@ public class frame extends JFrame implements ListSelectionListener {
|
282
|
285
|
}
|
283
|
286
|
});
|
284
|
287
|
|
285
|
|
- frameAdd.setBounds(544, 56, 107, 33);
|
|
288
|
+ frameAdd.setBounds(544, 46, 107, 28);
|
286
|
289
|
frameAdd.setText("Add");
|
287
|
290
|
frameAdd.setFont(new Font("Dialog", Font.PLAIN, 13));
|
288
|
291
|
cp.add(frameAdd);
|
|
@@ -292,7 +295,7 @@ public class frame extends JFrame implements ListSelectionListener {
|
292
|
295
|
}
|
293
|
296
|
});
|
294
|
297
|
|
295
|
|
- frameRemove.setBounds(544, 104, 107, 33);
|
|
298
|
+ frameRemove.setBounds(544, 84, 107, 28);
|
296
|
299
|
frameRemove.setText("Remove");
|
297
|
300
|
frameRemove.setFont(new Font("Dialog", Font.PLAIN, 13));
|
298
|
301
|
cp.add(frameRemove);
|
|
@@ -301,6 +304,16 @@ public class frame extends JFrame implements ListSelectionListener {
|
301
|
304
|
frameRemove_ActionPerformed(evt);
|
302
|
305
|
}
|
303
|
306
|
});
|
|
307
|
+
|
|
308
|
+ frmLngthLbl.setBounds(536, 160, 113, 24);
|
|
309
|
+ frmLngthLbl.setText("Length of a frame");
|
|
310
|
+ frmLngthLbl.setFont(new Font("Dialog", Font.PLAIN, 13));
|
|
311
|
+ cp.add(frmLngthLbl);
|
|
312
|
+
|
|
313
|
+ frmLngthTxt.setBounds(536, 184, 113, 24);
|
|
314
|
+ frmLngthTxt.setText("0");
|
|
315
|
+ frmLngthTxt.setFont(new Font("Dialog", Font.PLAIN, 13));
|
|
316
|
+ cp.add(frmLngthTxt);
|
304
|
317
|
|
305
|
318
|
animScrollPane.setBounds(8, 264, 209, 121);
|
306
|
319
|
animList.setModel(animModel);
|
|
@@ -425,7 +438,8 @@ public class frame extends JFrame implements ListSelectionListener {
|
425
|
438
|
|
426
|
439
|
// Anfang Ereignisprozeduren
|
427
|
440
|
public void editA_ActionPerformed(ActionEvent evt) {
|
428
|
|
- // layerEditFrame layerFrame1 = new layerEditFrame(worker.getLayer(0));
|
|
441
|
+
|
|
442
|
+ layerEditFrame layerFrame1 = new layerEditFrame(worker.getFrame(animList.getSelectedIndex(), frameList.getSelectedIndex()), 0);
|
429
|
443
|
}
|
430
|
444
|
|
431
|
445
|
public void editB_ActionPerformed(ActionEvent evt) {
|