Se corrige un error y se sube un ejecutable
This commit is contained in:
BIN
bin/main/Main.class
Normal file
BIN
bin/main/Main.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
9
src/main/Main.java
Normal file
9
src/main/Main.java
Normal file
@@ -0,0 +1,9 @@
|
||||
package main;
|
||||
|
||||
public class Main
|
||||
{
|
||||
public static void main(String[] args)
|
||||
{
|
||||
visual.Login login = new visual.Login();
|
||||
}
|
||||
}
|
||||
@@ -34,10 +34,14 @@ public class Archivo
|
||||
String os = System.getProperty("os.name");
|
||||
if (os.contains("Windows"))
|
||||
{
|
||||
ruta = "C:\\P.A.M\\" + archivo;
|
||||
ruta = "C:\\P.A.M\\";
|
||||
new File(ruta).mkdir();
|
||||
ruta+= archivo;
|
||||
} else if (os.contains("Linux"))
|
||||
{
|
||||
ruta = System.getProperty("user.home") + "/P.A.M/" + archivo;
|
||||
ruta = System.getProperty("user.home") + "/P.A.M/";
|
||||
new File(ruta).mkdir();
|
||||
ruta += archivo;
|
||||
}
|
||||
return ruta;
|
||||
}
|
||||
|
||||
@@ -181,9 +181,5 @@ public class Login{
|
||||
Registro registro = new Registro();
|
||||
frame.dispose();
|
||||
}
|
||||
public static void main(String args[]) {
|
||||
|
||||
Login ventana = new Login();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user