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