On 28 oct, 07:45, Saji <jjk.s...@gmail.com> wrote:
> Hi Michele
>   Thanks for the reply
>   My  doubt was that why "CreateCoffees.java" only runs when I run the
> project, How is it decided that "CreateCoffees.java" only should run
>   I have done the necessary changes for the "con" parameter for all
> other  related java files
>   I can create "SUPPLIERS" table by running "CreateSuppliers.java"
> separately
> As mentioned above, my doubt is that what settings are there in the
> project, which make  only "CreateCoffees.java" to run , each time I
> run the project
It is defined in the Run property of the project. Right click on the
project select Properties, click on Run frame, you will see
CreateCoffees in the Main Class field. You may change it as you want
using the Browse button and choose whatever you want as Main class,
click Select Main Class, and click OK.

This is standard in all NetBeans projects.

Michèle Garoche

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to