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-11-06 20:57:19 +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);
|
|
|
|
}
|
|
|
|
}
|