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

06-24-2008, 01:19 PM
|
|
Member
|
|
Join Date: Dec 2007
Posts: 10
|
|
|
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
|
|

06-24-2008, 01:38 PM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
|
|
|
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.
|
|

06-24-2008, 04:42 PM
|
 |
Senior Member
|
|
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 527
|
|
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.
|
|

06-24-2008, 08:16 PM
|
 |
Senior Member
|
|
Join Date: May 2008
Posts: 299
|
|
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
|
|

06-24-2008, 08:19 PM
|
|
Member
|
|
Join Date: Feb 2008
Posts: 45
|
|
you mean something like this:
public class IamStandAlone {
public static void main (String[] arg) {
System.out.println("I am a stand alone program! haha");
}
}
|
|

06-24-2008, 08:45 PM
|
 |
Senior Member
|
|
Join Date: Jun 2008
Location: Southwest
Posts: 789
|
|
|
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
|
|

06-25-2008, 01:19 AM
|
 |
Senior Member
|
|
Join Date: Jun 2008
Location: Ukraine,Zaporozhye
Posts: 338
|
|
|
I think he means to create the screenlets or widgets in java for the desktop.Isn't it true?
|
|

06-25-2008, 07:24 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
|
|
|
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.
|
|

06-25-2008, 07:34 AM
|
 |
Senior Member
|
|
Join Date: Apr 2008
Posts: 386
|
|
|
put it in a jar.
__________________
My IP address is 127.0.0.1
|
|

06-25-2008, 07:51 AM
|
 |
Senior Member
|
|
Join Date: Jun 2008
Posts: 476
|
|
Originally Posted by serjant
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.
|
|

06-27-2008, 07:28 AM
|
|
Member
|
|
Join Date: Dec 2007
Posts: 10
|
|
|
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.
|
|

06-27-2008, 07:33 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
|
|
|
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.
|
|

06-27-2008, 07:48 AM
|
|
Member
|
|
Join Date: Dec 2007
Posts: 10
|
|
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  )
|
|

06-27-2008, 07:55 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
|
|
|
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.
|
|

06-27-2008, 07:57 AM
|
|
Member
|
|
Join Date: Dec 2007
Posts: 10
|
|
|
Thanks for the help now just need to figure out how not to make all my code visible to the user
|
|

06-27-2008, 08:03 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
|
|
|
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.
|
|

06-27-2008, 08:21 AM
|
 |
Member
|
|
Join Date: Jun 2008
Location: Junee, NSW, Australia
Posts: 19
|
|
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.
|
|

06-27-2008, 08:31 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
|
|
Originally Posted by Alan-LB
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.
|
|

06-27-2008, 08:33 AM
|
 |
Member
|
|
Join Date: Jun 2008
Location: Junee, NSW, Australia
Posts: 19
|
|
|
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!!
|
|

06-27-2008, 08:38 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,609
|
|
|
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.
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
| | | |