how can i summon a class in annother file
this is the package package Los_señore; import java.awt.BorderLayout; import java.awt.Canvas; import java.awt.Dimension; import javax.swing.JFrame; public class Juego extends Canvas{ private static final long serialVersionUID = 1L; private static final int ANCHO = 800; private static final int ALTO = 600; private static final String NOMBRE = "Juego"; private static JFrame ventana; private Juego(){ setPreferredSize(new Dimension(ANCHO, ALTO)); ventana = new JFrame(NOMBRE); ventana.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); ventana.setResizable(false); ventana.setLayout(new BorderLayout()); ventana.add(this, BorderLayout.CENTER); ventana.pack(); ventana.setLocationRelativeTo(null); ventana.setVisible(true); } } this is the main class on another file import Los_señore.Juego; public static void main(String[] args){ Juego pepe = new Juego } this doesnt work help plz