Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- public static void main(String[] args) throws Exception
- {
- System.out.println("Hello, World.");
- //testing
- System.setProperty("java.net.useSystemProxies", "true");
- System.setProperty("http.proxyHost", "127.0.0.1");
- System.setProperty("http.proxyPort", "8080");
- //testing
- Desktop d = Desktop.getDesktop();
- d.browse(new URI("https://www.youtube.com/watch?v=PStnmmEzA44"));
- System.out.println("end of program");
- }
- }
Add Comment
Please, Sign In to add comment