September 8th, 2012, 04:08 AM
How To Read jar arguments in javaswing JtextField
I am new to Java swing, actually i have developed Swing component and make executable jar file
now when i am calling jar i am passing parameter, but when i am trying to display that parameter in java swing component i am not getting any result as per my till now finding, i found that
initComponents(); which is in constructor executing before main method, in main method i am setting jtextfield with parameter.
However i done it with Private static variable , i am not satisfy this approach as static variable using memory and its treated as single copy.
please help me is there any there way.
September 8th, 2012, 07:39 AM
Please post the code you are having problems with and explain what you are trying to do.
Be sure to wrap the code in code tags.