Готовая Лабораторная 4

This commit is contained in:
Никита Белянин 2023-11-13 01:29:20 +04:00
parent 541f653761
commit 80872fdf87

View File

@ -152,13 +152,13 @@ public class FormTankCollection {
JButton ButtonRefreshCollection = new JButton("Обновить коллекцию"); JButton ButtonRefreshCollection = new JButton("Обновить коллекцию");
ButtonRefreshCollection.addActionListener( ButtonRefreshCollection.addActionListener(
new ActionListener() { new ActionListener() {
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e){
Draw(); Draw();
} }
} }
); );
JButton toFormTankGenerate = new JButton("Генерировать"); JButton toFormTankGenerate = new JButton("Генерировать технику");
toFormTankGenerate.addActionListener( toFormTankGenerate.addActionListener(
new ActionListener() { new ActionListener() {
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {