import javax.swing.*; import java.awt.*; import java.awt.event.ComponentEvent; import java.awt.event.ComponentListener; import java.util.Random; public class FormBattleship extends JComponent { private DrawningBattleship _battleship; private EntityBattleship _entityBattleship; public static void main(String[] args) { FormBattleship formBattleship = new FormBattleship(); } public FormBattleship() { } }