Zhelovanov D.Y. LabWork03 #3

Closed
Zhelovanov_Dmitrii wants to merge 10 commits from LabWork03 into LabWork02
Showing only changes of commit c56ee336ef - Show all commits

View File

@ -17,30 +17,6 @@ public class FormBattleship extends JComponent {
return SelectedBattleship;
}
public FormBattleship(JDialog caller) {
// JFrame form = new JFrame("Военный корабль");
// form.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// form.setSize(800, 500);
// form.setVisible(true);
// form.setLocationRelativeTo(null);
// form.addComponentListener(new ComponentListener() {
// @Override
// public void componentResized(ComponentEvent e) {
// if(_battleship != null) _battleship.ChangeBorders(getWidth(), getHeight());
// repaint();
// }
//
// @Override
// public void componentMoved(ComponentEvent e) {
// }
//
// @Override
// public void componentShown(ComponentEvent e) {
// }
//
// @Override
// public void componentHidden(ComponentEvent e) {
// }
// });
Panel statusPanel = new Panel();
statusPanel.setBackground(Color.WHITE);
statusPanel.setLayout(new FlowLayout());