Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: FileChooser (mp3/wav) and drop it to textArea

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb FileChooser (mp3/wav) and drop it to textArea

    how can i drop a MP3/wav extension file into a JTextarea came from the JFileChooser


  2. #2
    Member andbin's Avatar
    Join Date
    Dec 2013
    Location
    Italy
    Posts
    443
    Thanks
    4
    Thanked 122 Times in 114 Posts

    Default Re: FileChooser (mp3/wav) and drop it to textArea

    Quote Originally Posted by karlburgos View Post
    how can i drop a MP3/wav extension file into a JTextarea came from the JFileChooser
    Sorry, your question is not really clear. JFileChooser can be used as "component" in a layout or shown with its modal dialog, the latter is the typical use (see javadoc of JFileChooser where there is an example).
    What is the correlation between a JTextArea and an audio file?

    Please, clarify the context and your objectives.
    Andrea, www.andbin.netSCJP 5 (91%) – SCWCD 5 (94%)

    Useful links for Java beginnersMy new project Java Examples on Google Code

  3. #3
    Junior Member
    Join Date
    Jan 2014
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: FileChooser (mp3/wav) and drop it to textArea

    I'm able to drag a file into the text-area and the output is the path-name. Instead of the path-name as the output, I need the output to be the file itself particularly mp3/wav.

Similar Threads

  1. How to convert GSM 6.10 wav file to MP3/PCM/OGG/AU format using JAVA?
    By expertise in forum Java ME (Mobile Edition)
    Replies: 4
    Last Post: April 11th, 2014, 02:13 AM
  2. How to make .wav player in java
    By beansnbacon in forum Java Theory & Questions
    Replies: 2
    Last Post: May 8th, 2013, 04:41 AM
  3. How do I upload an audio wav file?!
    By mcgras22 in forum File Input/Output Tutorials
    Replies: 5
    Last Post: June 15th, 2012, 08:29 PM
  4. Playing .wav file
    By harsha in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 27th, 2010, 11:33 PM
  5. convert GSM to PCM (wav)
    By cilang in forum Java Theory & Questions
    Replies: 4
    Last Post: August 7th, 2009, 03:46 AM