Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Cómo Crear Un Ejecutable en Java Con Eclipse
Cómo Crear Un Ejecutable en Java Con Eclipse
Año 2019
package gui;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.ImageIcon;
/**
* Launch the application.
*/
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
PrimaTaxi frame = new PrimaTaxi();
frame.setVisible(true);
}
catch (Exception e) {
e.printStackTrace();
}
}
});
}
/**
* Create the frame.
*/
public PrimaTaxi() {
final int ANCHO = 786, ALTO = 425,
DX = 6, DY = 29;
setResizable(false);
setTitle("PrimaTaxi SAC \u00AE");
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setBounds(0, 0, ANCHO + DX, ALTO + DY);
this.setIconImage(new ImageIcon("PT.png").getImage());
this.setLocationRelativeTo(null);
Cree el ejecutable
clic derecho
- Nombre: PrimaTaxi
- Pulse [ OK ] [ Finish ]
- Abra desde Windows la carpeta PrimaTaxi y seleccione el ejecutable
clic derecho