This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void open_con() { | |
File file = new File("c://xampp/xampp-control.exe"); //lokasi file yang dipanggil | |
ProcessBuilder pb = new ProcessBuilder(file.getAbsolutePath()); | |
try { | |
pb.start(); | |
} catch (IOException ex) { | |
Logger.getLogger(Login.class.getName()).log(Level.SEVERE, null, ex); | |
} | |
} |
Membuka Aplikasi lain dengan Java
4/
5
Oleh
Unknown