This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I have a java code to create an excel sheet automatically named createexcel.java . Suppose I want to create a button and link that button to this java code so that upon double click of the button the java code should run automatically and create the excel sheet.
Can any one guide me how can i tackle this scenario (At this point of time I have just the java code with me createexcel.java ) but i am unable to implement the rest of the part i mentioned. It. will be great if someone can provide some sample codes just to have an idea
Appreciate you help in this regard.
Thanks and Regards,
Thankyou Koen for your reply ,the shell function in java is mainly used for routine based tasks. Now can we include this under our button functionality(in AWT/SWT) so that onclick event initiates the execution of the java class. On double click of the button i want the code to execute the functionality..