PIbd-21_Bakalskaya_E.D._Ele.../ProjectElectricLocomotive/FrameLocomotiveCollection.java
ekallin e36d02dd75 revert 34f72ac391
revert Lab 3 Ready hard
2023-11-06 17:02:05 +04:00

19 lines
598 B
Java

package ProjectElectricLocomotive;
import javax.swing.*;
public class FrameLocomotiveCollection extends JFrame {
public FormLocomotiveCollections _formLocomotiveCollections;
public FrameLocomotiveCollection(){
super();
setTitle("LocoCollection");
setDefaultCloseOperation(EXIT_ON_CLOSE);
_formLocomotiveCollections = new FormLocomotiveCollections();
setContentPane(_formLocomotiveCollections.getPictureBoxCollections());
setDefaultLookAndFeelDecorated(false);
setLocation(400, 50);
pack();
setVisible(true);
}
}