24 lines
636 B
Java
24 lines
636 B
Java
package ProjectElectricLocomotive;
|
|
import javax.swing.*;
|
|
import java.awt.event.MouseEvent;
|
|
import java.awt.event.MouseListener;
|
|
|
|
public class FrameLocomotiveConfig extends JFrame{
|
|
|
|
|
|
public FormLocomotiveConfig _formLocomotiveConfig;
|
|
public FrameLocomotiveConfig() {
|
|
|
|
super();
|
|
setTitle("Конфиг");
|
|
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
|
|
_formLocomotiveConfig = new FormLocomotiveConfig();
|
|
setContentPane(_formLocomotiveConfig.getPictureBoxObject());
|
|
setDefaultLookAndFeelDecorated(false);
|
|
setLocation(100, 200);
|
|
pack();
|
|
setVisible(true);
|
|
}
|
|
|
|
}
|