Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-24-2008, 01:19 PM
Member
 
Join Date: Dec 2007
Posts: 10
quickfingers is on a distinguished road
Could some plz tell me how to write a stand alone
Well the title says it just try to make it very simple so I can follow it
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-24-2008, 01:38 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
What you mean. Looking to write a standalone application?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 06-24-2008, 04:42 PM
sukatoa's Avatar
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 527
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
Quote:
Could some plz tell me how to write a stand alone
Well the title says it just try to make it very simple so I can follow it
Like a clock? it could stand alone as long as the Operating System still operates....
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 06-24-2008, 08:16 PM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 299
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha

be specific on what u want mr/ms quickfingers.
what type of standalone application r u looking for?

Our question is straight forward what all things do u want to implement in your application, as u know there are many ways of doing same thing like for GUi we can use swing or awt or swt or jide etc etc.
__________________
To finish sooner, take your own time....
Nivedithaaaa
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 06-24-2008, 08:19 PM
Member
 
Join Date: Feb 2008
Posts: 45
new_2_java is on a distinguished road
you mean something like this:

Code:
public class IamStandAlone { public static void main (String[] arg) { System.out.println("I am a stand alone program! haha"); } }
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 06-24-2008, 08:45 PM
Nicholas Jordan's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Southwest
Posts: 789
Nicholas Jordan is on a distinguished road
That is a standalone, what is your question.

( fun with newbies! )
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 06-25-2008, 01:19 AM
serjant's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Ukraine,Zaporozhye
Posts: 338
serjant is on a distinguished road
Send a message via ICQ to serjant Send a message via Skype™ to serjant
I think he means to create the screenlets or widgets in java for the desktop.Isn't it true?
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 06-25-2008, 07:24 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Or may be looking to create an executable file for any OS!
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #9 (permalink)  
Old 06-25-2008, 07:34 AM
Zosden's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 386
Zosden is on a distinguished road
put it in a jar.
__________________
My IP address is 127.0.0.1
Bookmark Post in Technorati
Reply With Quote
  #10 (permalink)  
Old 06-25-2008, 07:51 AM
fishtoprecords's Avatar
Senior Member
 
Join Date: Jun 2008
Posts: 476
fishtoprecords is on a distinguished road
Quote:
Originally Posted by serjant View Post
I think he means to create the screenlets or widgets in java for the desktop.Isn't it true?
Wow, I'd never thing of an applet/or screenlet as a standalone. I see the "hello world" as a sample, no GUI, nothing fancy.

If the OP wants something fancy, he's got to enlighten us.
Bookmark Post in Technorati
Reply With Quote
  #11 (permalink)  
Old 06-27-2008, 07:28 AM
Member
 
Join Date: Dec 2007
Posts: 10
quickfingers is on a distinguished road
Well I know how to write applets very well just would like to have a stand alone run on my computer without the help of a Applet because I know how to write classes just don't know how to get it to run without needing a applet.
Bookmark Post in Technorati
Reply With Quote
  #12 (permalink)  
Old 06-27-2008, 07:33 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
With your post I really confused. Without help of an Applet, you want to run an applet class. ???
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #13 (permalink)  
Old 06-27-2008, 07:48 AM
Member
 
Join Date: Dec 2007
Posts: 10
quickfingers is on a distinguished road
All I want to do is make so the person would have to download it to play instead playing online.

(Hope I am clear this time )
Bookmark Post in Technorati
Reply With Quote
  #14 (permalink)  
Old 06-27-2008, 07:55 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
To run an applet you need a browser, even on off line. So what you can do it, add your application in a download link, may be as a zip file. Then user have to download it and play.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #15 (permalink)  
Old 06-27-2008, 07:57 AM
Member
 
Join Date: Dec 2007
Posts: 10
quickfingers is on a distinguished road
Thanks for the help now just need to figure out how not to make all my code visible to the user
Bookmark Post in Technorati
Reply With Quote
  #16 (permalink)  
Old 06-27-2008, 08:03 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Since applet use the class file your code not visible to the user directly. But using a decompiler can see the code.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #17 (permalink)  
Old 06-27-2008, 08:21 AM
Alan-LB's Avatar
Member
 
Join Date: Jun 2008
Location: Junee, NSW, Australia
Posts: 19
Alan-LB is on a distinguished road
Send a message via Yahoo to Alan-LB
Possible he means a program that will run by itself without needing a browser - ie a stand-alone program not an applet.

He would need to make a jar file as suggested by Zosden which could then be downloaded by a user and executed by itself.

If he wants to make all his code visible to the user why doesn't he put the source code as text on a web page or send the source code files packed in the jar file? Maybe he doesn't know the dirrerence between an executable program and source code.

I am not clear as to what he really wants - I think that he doesn't know either. Maybe his fingers are too quick and his brain too slow for him to be able to express himself clearly

Alan.
__________________
There are 10 types of people - those who understand binary and those who don't!!
Today is the Beta version of Tomorrow!!

Last edited by Alan-LB : 06-27-2008 at 08:24 AM.
Bookmark Post in Technorati
Reply With Quote
  #18 (permalink)  
Old 06-27-2008, 08:31 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Quote:
Originally Posted by Alan-LB View Post
If he wants to make all his code visible to the user why doesn't he put the source code as text on a web page or send the source code files packed in the jar file? Maybe he doesn't know the dirrerence between an executable program and source code.
I'm with you on this. Mainly I think he doesn't know what is jar file, and a source code(class file). Because I can't see any attempt on jar.

If he wants to run the application on the browser, if he puts complete code as a zip, as I suggested earlier, it's not easy to hide the code from the user.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #19 (permalink)  
Old 06-27-2008, 08:33 AM
Alan-LB's Avatar
Member
 
Join Date: Jun 2008
Location: Junee, NSW, Australia
Posts: 19
Alan-LB is on a distinguished road
Send a message via Yahoo to Alan-LB
What do you mean by "code". Are you talking about the executable program or the source code?

Alan
__________________
There are 10 types of people - those who understand binary and those who don't!!
Today is the Beta version of Tomorrow!!
Bookmark Post in Technorati
Reply With Quote
  #20 (permalink)  
Old 06-27-2008, 08:38 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
I'm talking about the source code.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On