Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package testingground;
- import javax.swing.JOptionPane;
- public class Program {
- public static void main(String[] args) {
- System.out.println("The first song should play now!");
- Music a = new Music();
- a.musicone();
- System.out.println("The second song should play now!");
- a.musictwo();
- JOptionPane.showMessageDialog(null,"Press 'ok' to end the application.");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement