Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.awt.Desktop;
- import java.io.IOException;
- import java.io.PrintStream;
- import java.net.URI;
- import java.net.URISyntaxException;
- public class notesChecker
- {
- public static void main(String[] args)
- {
- System.out.println("It's friday, friday");
- try
- {
- Desktop.getDesktop().browse(
- new URI("http://www.youtube.com/watch?v=kfVsfOSbJY0"));
- }
- catch (IOException e1)
- {
- e1.printStackTrace();
- }
- catch (URISyntaxException e1)
- {
- e1.printStackTrace();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment