mp3 playing in JAVA..

13lade619

is now a game developer :)
Reaction score
398
so in the midst of all my exams in my other classes,
my professor gave us or final project in programming...

to make an MP3 player in java..

Using Swing for GUI and other stuff.

he said we should search the internet for some JAVA libraries to play MP3 files.

do you guys know of any good ones?
 

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
> Use what you wish to use for your project. Using custom interface will certainly give you more points. But if you put more time on the UI and that the MP3 player sucks, you will loose more than you gained.

>

Sample: Mouse not over: black, Mouse over: white.

Code:
package ui;

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

public class T extends JFrame {

    public T() {
        this.setSize(200, 100);
        this.setLayout(new FlowLayout());
        final JButton b = new JButton("a Button");
        b.setForeground(Color.black);
        b.addMouseListener(new MouseAdapter() {
            public void mouseEntered(MouseEvent e) {
                b.setBackground(Color.white);
            }
            public void mouseExited(MouseEvent e) {
                b.setBackground(Color.black);
            }
        });
        this.add(b);
        this.setVisible(true);
    }

    public static void main(String[] args) {
        new T();
    }

}
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top