Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / September 2004

Tip: Looking for answers? Try searching our database.

Newbie needs help building project & loading/running an executable

Thread view: 
angusyoung1000 - 19 Sep 2004 21:08 GMT
I am interested looking at some java FFT source code & rebuilding some
files to get an executable. I have no experience with java but am
looking to come up to speed hopefully pretty quickly. The source code
(6 .java files zipped together) is that I'm interested in studying is
for an FFT analyzer found here:

http://www.dsptutor.freeuk.com/analyser/SA11.zip

from the website:

http://www.dsptutor.freeuk.com/analyser/SpectrumAnalyser.html

I've also downloaded NetBeans IDE 3.6.

So far I've created a project which includes the 6 files and done a
rebuild with no errors. How do I actually run the executable? Any help
will be appreciated.

Thanks.
Andrew Thompson - 19 Sep 2004 21:20 GMT
> http://www.dsptutor.freeuk.com/analyser/SpectrumAnalyser.html

IE?
Alt V | C (view source)
Ctrl F (Find)
<applet
enter

The applet call in the page shows you how
to call the applet class.

> So far I've created a project which includes the 6 files and done a
> rebuild

More commonly referred to as compiling.

>..with no errors. How do I actually run the executable?

Java programs are generally referred to as either
applets or applications, rather than 'executables'.

[ Follow-ups set to c.l.j.help.  Please restrict
your posts to c.l.j.help for the moment, though
it is a good idea to read c.l.j.programmer ]

Signature

Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.lensescapes.com/  Images that escape the mundane

Chris Smith - 20 Sep 2004 01:25 GMT
> I am interested looking at some java FFT source code & rebuilding some
> files to get an executable. I have no experience with java but am
> looking to come up to speed hopefully pretty quickly. The source code
> (6 .java files zipped together) is that I'm interested in studying is
> for an FFT analyzer found here:

> So far I've created a project which includes the 6 files and done a
> rebuild with no errors. How do I actually run the executable? Any help
> will be appreciated.

The code you've downloaded is something called an "applet", and it is
not a stand-alone program.  It's designed to be embedded into a web
page.  For information on how to embed an applet into a web page, see
http://java.sun.com/docs/books/tutorial/applet/index.html.

If you want this to run outside of a web page, then most of the code
will still be usable, but you'll need to write an application-style
entry point for it.  Any introductory book on Java will be a good
reference for writing basic Java code.

Signature

www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.