fix labwork04 2
This commit is contained in:
parent
e07a9cae69
commit
1a2a3ad909
@ -3,8 +3,8 @@ package ProjectElectricLocomotive.src.Forms;
|
||||
import ProjectElectricLocomotive.src.CollectionGenericObjects.*;
|
||||
import ProjectElectricLocomotive.src.Drawnings.DrawingElectricLocomotive;
|
||||
import ProjectElectricLocomotive.src.Drawnings.DrawingLocomotive;
|
||||
import java.util.Queue;
|
||||
import java.util.Stack;
|
||||
|
||||
import java.util.LinkedList;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
@ -15,14 +15,14 @@ public class DrawingLocomotiveCollection extends JPanel
|
||||
private final FormLocomotiveCollection field;
|
||||
private AbstractCompany _company = null;
|
||||
|
||||
private Stack<DrawingLocomotive> delLocomotive;
|
||||
private LinkedList<DrawingLocomotive> delLocomotive;
|
||||
private final StorageCollection<DrawingLocomotive> storageCollection;
|
||||
|
||||
public DrawingLocomotiveCollection(FormLocomotiveCollection field) {
|
||||
this.field = field;
|
||||
|
||||
storageCollection = new StorageCollection<DrawingLocomotive>();
|
||||
delLocomotive = new Stack<DrawingLocomotive>();
|
||||
delLocomotive = new LinkedList<DrawingLocomotive>();
|
||||
}
|
||||
void comboBoxSelectorCompany_SelectedIndexChanged(String text)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user