ok.. now that I know about the JOptionPane, I have one more question. How can you create a real executable program from the java code that u write. IT can be executed through JCreator or another java creator, but how can you make it so that its an actual java application that runs on its own?
sorry if this is a stupid question...

Make an executable jar or a jnlp.
But anyone with an installed JRE can run a Java application if they know the name of the class that contains the main method (or you provide a batchfile or other startup script for their OS).

If you had tried to learn to use the compiler and runtime instead of which button to press you'd have known that.

can JCreator make executables or just execute them? how can u make one that you could give an icon and put on ur desktop?

can JCreator make executables or just execute them? how can u make one that you could give an icon and put on ur desktop?

He just told you!

ya- You must create a jar file through JCreater(eaiest way)
Go to configure-options-tools; Click new then 'Create new Jar File'. Then press ok. You can then create a jar file by pressing 'control + 1'; Then your jar file is created, and all you have to do is add your class path to the manifest file

thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.