JavaPackager icon indicating copy to clipboard operation
JavaPackager copied to clipboard

Prevent the program from starting a second time

Open lhDream opened this issue 3 years ago • 6 comments

Hi @fvarrui ! Whether to consider adding a new function prevent the program from starting a second time.

lhDream avatar Jul 25 '22 09:07 lhDream

Hi @lhDream! Why don't you add this feature directly in your app? Maybe this could help.

fvarrui avatar Jul 26 '22 11:07 fvarrui

Hi @fvarrui ! Thanks a lot for your answer. Because I see other tools have :smile:

In fact, it's because I don't know how java can bring the cmd window to the front.

lhDream avatar Jul 26 '22 15:07 lhDream

Because I see other tools have 😄

Please, tell me which tools to take a look.

In fact, it's because I don't know how java can bring the cmd window to the front.

Sorry, I don't understand what you mean.

fvarrui avatar Jul 26 '22 15:07 fvarrui

How to put the cmd window on top

lhDream avatar Jul 27 '22 01:07 lhDream

How to put the cmd window on top

I guess you are using Launch4J as EXE generation tool. Why do you want the CMD window on top?

fvarrui avatar Sep 01 '22 18:09 fvarrui

Hi @fvarrui ! I hope that when running a program that is already running, the program interface can pop up to the front for easy search. And this is a console program.

lhDream avatar Sep 02 '22 01:09 lhDream