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 / General / November 2007

Tip: Looking for answers? Try searching our database.

Applet source code

Thread view: 
Ouabaine - 11 Nov 2007 08:29 GMT
Hello,

I have a big project under Netbeans, actually more than 730 classes. Up
today, I have made compiled my project into a standart Java application. I
need now to make the Applet version of my application (it is a game
creator's runtime, we need the games to run as standart java app, and on the
web)(and later on J2ME). But today I am concentrating on Applets.
Is there a way in Netbeans, to include sources that do not belong to the
project directory? Only a few sources will change between the standart
project and the applet project, and I would not like to keep two sets of
sourcecode for maintenance. So if there was a way to import them from
another project without copying them, this would be fantastic.

Thanks!
Andrew Thompson - 11 Nov 2007 09:11 GMT
..
>...we need the games to run as standart java app, and on the
>web)...

Ever heard of Java web start?

Signature

Andrew Thompson
http://www.athompson.info/andrew/

Sherman Pendley - 11 Nov 2007 10:32 GMT
> I have a big project under Netbeans, actually more than 730 classes. Up
> today, I have made compiled my project into a standart Java application. I
> need now to make the Applet version of my application

Have you considered using Java Web Start to distribute your standard app?

sherm--

Signature

WV News, Blogging, and Discussion: http://wv-www.com
Cocoa programming in Perl: http://camelbones.sourceforge.net

Roedy Green - 12 Nov 2007 03:02 GMT
> I
>need now to make the Applet version of my application

it is a lot easier to turn an Applet into an Application than the
reverse.


See http://mindprod.com/jgloss/applet.html
for how to do it.  Nearly every Applet I have written is a hybrid
application/Applet.
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Roedy Green - 12 Nov 2007 03:16 GMT
>I have a big project under Netbeans, actually more than 730 classes

this sounds on the fat side for an Applet.  Perhaps what you really
want in a Java Web Start which you can trigger by a click on a web
page, but which runs independently.  You can also shut down the
browser to give all the RAM to the app.

see http://mindprod.com/jgloss/javawebstart.html
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Andrew Thompson - 12 Nov 2007 06:23 GMT
>>I have a big project under Netbeans, actually more than 730 classes
>
>this sounds on the fat side for an Applet.  

*

>...Perhaps what you really
>want in a Java Web Start which you can trigger by a click on a web
>page, but which runs independently.  You can also shut down the
>browser to give all the RAM to the app.

**

* The download can be further optimised using 'lazy' downloads,
and even further using the JNLP API's DownloadService
<http://www.physci.org/jws/#ds>
JWS also allows you to share common files across
different applications efficiently, using component extensions
<http://www.physci.org/jws/#giffer>

** Web start can also request extra memory in the
JNLP launch file, if needed.
<http://www.physci.org/jws/#giffer>

Signature

Andrew Thompson
http://www.athompson.info/andrew/



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



©2009 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.