PIbd-23. Zakharov R.A. Lab work 05 #6

Closed
Zakharov_Rostislav wants to merge 10 commits from Lab5 into Lab4
Showing only changes of commit 3e82235fc8 - Show all commits

View File

@ -186,12 +186,12 @@ public class FrameShipsCollection extends JFrame {
private void buttonTrashClick(){
if (trashCollection.size() == 0)
return;
FrameBattleship Frame;
FrameBattleship frame;
try {
Frame = new FrameBattleship();
frame = new FrameBattleship();
} catch (IOException e) {
throw new RuntimeException(e);
}
Frame.setShip(trashCollection.pop());
frame.setShip(trashCollection.pop());
}
}