2023-10-21 22:32:22 +04:00
|
|
|
package ProjectElectricLocomotive;
|
|
|
|
|
|
|
|
import javax.swing.*;
|
2023-12-19 03:41:22 +04:00
|
|
|
import org.apache.logging.log4j.Logger;
|
2023-10-21 22:32:22 +04:00
|
|
|
|
|
|
|
public class FrameLocomotiveCollection extends JFrame {
|
|
|
|
public FormLocomotiveCollections _formLocomotiveCollections;
|
2023-12-19 00:19:35 +04:00
|
|
|
public FrameLocomotiveCollection(Logger logger){
|
2023-10-21 22:32:22 +04:00
|
|
|
super();
|
2023-11-06 20:57:19 +04:00
|
|
|
setTitle("Коллекция");setDefaultCloseOperation(EXIT_ON_CLOSE);
|
2023-12-19 00:19:35 +04:00
|
|
|
_formLocomotiveCollections = new FormLocomotiveCollections(logger);
|
2023-10-21 22:32:22 +04:00
|
|
|
setContentPane(_formLocomotiveCollections.getPictureBoxCollections());
|
2023-12-18 00:49:42 +04:00
|
|
|
this.setJMenuBar(_formLocomotiveCollections.getMenuBar());
|
2023-10-21 22:32:22 +04:00
|
|
|
setDefaultLookAndFeelDecorated(false);
|
|
|
|
setLocation(400, 50);
|
|
|
|
pack();
|
|
|
|
setVisible(true);
|
|
|
|
}
|
|
|
|
}
|