[jira] [Updated] (NETBEANS-1627) Automatically set the main class if there is only one.

2018-11-08 Thread Michal Rama (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-1627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michal Rama updated NETBEANS-1627:
--
Labels: Main class project  (was: Main class)

> Automatically set the main class if there is only one.
> --
>
> Key: NETBEANS-1627
> URL: https://issues.apache.org/jira/browse/NETBEANS-1627
> Project: NetBeans
>  Issue Type: New Feature
>  Components: java - Project, javafx - Project
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 899, Java 11.0.1
>Reporter: Michal Rama
>Priority: Minor
>  Labels: Main, class, project
> Attachments: obrázek30.png, obrázek46.png
>
>
> Hello,
> If I create a new Java / JavaFX project without Main Class.
> Then I create the package and create the Main Class in it.
> When I run the project, it will appear in both cases:
> !obrázek30.png!
> !obrázek46.png!
> I find it ridiculous to offer you a choice of only one option.
> When NetBeans detects that there is only one class with the main method in 
> the project, it automatically sets it up and runs the project.
> Of course he should inform you about it, but it is useless to have to choose 
> it.
> I would be grateful for this function.
> Thank you



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-1627) Automatically set the main class if there is only one.

2018-11-07 Thread Michal Rama (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-1627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michal Rama updated NETBEANS-1627:
--
Description: 
Hello,

If I create a new Java / JavaFX project without Main Class.

Then I create the package and create the Main Class in it.

When I run the project, it will appear in both cases:

!obrázek30.png!

!obrázek46.png!

I find it ridiculous to offer you a choice of only one option.

When NetBeans detects that there is only one class with the main method in the 
project, it automatically sets it up and runs the project.

Of course he should inform you about it, but it is useless to have to choose it.

I would be grateful for this function.

Thank you

  was:
Hello,

If I create a new Java / JavaFX project without Main Class.

Then I create the package and create the Main Class in it.

When I run the project, it will appear in both cases:

I find it ridiculous to offer you a choice of only one option.

When NetBeans detects that there is only one class with the main method in the 
project, it automatically sets it up and runs the project.

Of course he should inform you about it, but it is useless to have to choose it.

I would be grateful for this function.

Thank you


> Automatically set the main class if there is only one.
> --
>
> Key: NETBEANS-1627
> URL: https://issues.apache.org/jira/browse/NETBEANS-1627
> Project: NetBeans
>  Issue Type: New Feature
>  Components: java - Project, javafx - Project
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 899, Java 11.0.1
>Reporter: Michal Rama
>Priority: Minor
>  Labels: Main, class
> Attachments: obrázek30.png, obrázek46.png
>
>
> Hello,
> If I create a new Java / JavaFX project without Main Class.
> Then I create the package and create the Main Class in it.
> When I run the project, it will appear in both cases:
> !obrázek30.png!
> !obrázek46.png!
> I find it ridiculous to offer you a choice of only one option.
> When NetBeans detects that there is only one class with the main method in 
> the project, it automatically sets it up and runs the project.
> Of course he should inform you about it, but it is useless to have to choose 
> it.
> I would be grateful for this function.
> Thank you



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists