18 lines
593 B
Java
Raw Normal View History

2023-10-21 22:32:22 +04:00
package ProjectElectricLocomotive;
import javax.swing.*;
public class FrameLocomotiveCollection extends JFrame {
public FormLocomotiveCollections _formLocomotiveCollections;
public FrameLocomotiveCollection(){
super();
2023-10-29 17:10:37 +04:00
setTitle("Коллекция");setDefaultCloseOperation(EXIT_ON_CLOSE);
2023-10-21 22:32:22 +04:00
_formLocomotiveCollections = new FormLocomotiveCollections();
setContentPane(_formLocomotiveCollections.getPictureBoxCollections());
setDefaultLookAndFeelDecorated(false);
setLocation(400, 50);
pack();
setVisible(true);
}
}