Possible Duplicate:
How to set a java system property so that it is effective whenever I start JVM without adding it to the command line arguments
jvm heap seize setting has two option for Runtime Parameter, users & System. If every application is uses memory from users what is the use of having system wide setting for runtime parameter?
Can we use memory from System Option that can be set only once and will be applicable for every user of the system?
I guess "Runtime Parameter" and "System Option" terms refer to Java Control Panel settings, which was not clear at all from the question.
These settings may be used only for Java Applets and Java Web Start apps. Whether it would apply to your swing app depends on how it is actually started.
Take a look at Setting Java Runtime setting for all users on a client PC and How can I start an Java applet with more memory? for further hints.
While How to set a java system property so that it is effective whenever I start JVM without adding it to the command line arguments proposes solution with environment variable for usual java apps. See also How to change environment variables under Windows 7.