 |
A new NetBeans Platform Sample: AudioStation
Posted by richunger on November 01, 2006 at 05:25 PM | Comments (10)
Tim, Jarda and I taught a workshop on NetBeans plugin development at OOPSLA last week. As part of that course, I cooked up a new sample app to showcase the platform.
It's a simple WAV file editor which showcases the use of the Lookup API to plug different visualizations of the WAV file into a Multi-View component:
Here I show two Multi-View components. They're showing the different views available: the editable waveform view and the read-only frequency domain view (uses FFT).
The source code is checked into the NetBeans CVS tree under platform/samples/AudioStation
I have the project broken out into a progression of lessons, with the source code for the solution to each lesson. I've not yet uploaded that anywhere. I'd like to work with someone at Sun (Geertjan?) to figure out the best way to present it.
Hope some folks find this useful.
Bookmark blog post: del.icio.us Digg DZone Furl Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment
-
Rich, maybe the best way to upload individual lessons might be to create branches like lesson1, lesson2, etc. and upload each sources there. Then it would be easier to do diffs between individual lessons.
Posted by: jst on November 03, 2006 at 07:44 AM
-
This looks like a great example of a useful NB platform app, but I was not able to run it. I have to admit that I didn't try that hard, but it doesn't build with NB5.5/JDK1.5 out-of the-(CVS) box. What are the requirements to build this app? Thanks, Stephen
Posted by: pcomp on November 06, 2006 at 11:43 AM
-
That's odd, I've tested this from the CVS tree with 5.5/1.5 myself. What problems did you run into?
Posted by: richunger on November 06, 2006 at 11:48 AM
-
I must be doing something wrong. I just used CVS->Checkout. with :pserver:anoncvs@cvs.netbeans.org:/cvs & platform/samples/AudioStation. I checked this out into an empty folder and tried to open the top level project. None of the sub projects opened and I could not build any of the projects even after opening them manually. Do I have to have the entire platform checked out? I'm on Windows by the way, if that matters.
Posted by: pcomp on November 06, 2006 at 05:46 PM
-
It works fine for me. I just typed:
export CVSROOT = :pserver:anoncvs@cvs.netbeans.org:/cvs
cvs co -P platform/samples/AudioStation
Then I opened the AudioStation folder in NB 5.5, and selected Run.
Posted by: richunger on November 07, 2006 at 01:58 PM
-
I tried using cvs from command line. When I run the AudioStation suite project I see the custom splash, but there are no new capabilities and all of the IDE modules are enabled. I tried reinstalling netbeans and checked that other platform modules work with my installation. There appears to be some corruption in the module suite perhaps? The modules do not show up in its folder. Adding them manually does not help. I also cannot build the module projects either. Would you have any slides or notes from the presentation on how to configure the project from scratch? If you want to guide me I will help find the cause, otherwise I have to move on. Thanks, Stephen
Posted by: pcomp on November 08, 2006 at 10:06 PM
-
I checked out the whole samples directory. Using NB5.5 and jdk 1.5
I got the same as pcomp. I get the custom splash screen (which is a nice picture by the way!), but then the IDE opens, with no additional capabilities.
One thing to note is that when i open the AudioStation module suite, the "Modules" node is empty.
Anything I am missing?
Posted by: hsalameh on November 10, 2006 at 07:39 PM
-
Same problem as people above. Tried working it out, but failed.
Posted by: geertjan on November 12, 2006 at 07:37 AM
-
That's really odd. I have no idea. I just checked it out fresh (using the same instructions as above), and opened the AudioStation project and selected Run. Worked right out of the box.
Posted by: richunger on November 13, 2006 at 09:11 AM
-
A description of how to make this from scratch comprises a whole chapter of the recent NB platform book. I'm sorry, but I can't look into this further now, as I'm still traveling around the world, sans computer.
Posted by: richunger on July 02, 2007 at 10:31 AM
|