可选的单个应用程序实例强制和多个启动通知 [英] Optional single application instance enforcement and multiple startup notification

查看:75
本文介绍了可选的单个应用程序实例强制和多个启动通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请给出java代码


如何在java for exe应用程序中运行单个实例,基于gui

kindly give java code

how to run a single instance in java for exe application based on gui

推荐答案


请给出java代码


如何在java for exe应用程序中运行单个实例,基于gui
kindly give java code

how to run a single instance in java for exe application based on gui



你能更具体一点吗?你想知道如何运行Java程序吗?

Can you be more specific? Do you want to know how to run a Java program?


你好,


我在基于java GUI的程序中使用Swings


例如:如果我开始使用yahoo messanger只会创建单个实例


如果你想尝试打开它的话将打开工具栏上的现有窗口

同样我想让我的java exe成为单个实例。


如果你有可能发送任何java代码或发送好主意
hello,


iam working in java GUI Based program with Swings

for eg: if i started yahoo messanger only single instance is going to be created

if at all ur try ing to open new it will open existing window on the tool bar
similarly i want to make my java exe to be single instance.

so possibly send any java code if u have or send nice idea to do



你好,


我在工作基于java GUI的程序与Swings


例如:如果我开始使用yahoo messanger只会创建单个实例


如果你的话尝试打开新的它将打开工具栏上的现有窗口

同样我想让我的java exe成为单个实例。


所以可能发送任何java代码,如果呃ave或发送好主意做
hello,


iam working in java GUI Based program with Swings

for eg: if i started yahoo messanger only single instance is going to be created

if at all ur try ing to open new it will open existing window on the tool bar
similarly i want to make my java exe to be single instance.

so possibly send any java code if u have or send nice idea to do



您的程序中有多少帧?你是说你想一次只打开一帧吗?请发布你的代码,并准确解释你希望程序如何表现,我仍然不明白你在说什么。

How many frames do you have in your program? Are you saying you want only one frame to be opened at a time? Please post the codes you have and explain exactly how you want the program to behave, I still don''t understand what you are talking about.


这篇关于可选的单个应用程序实例强制和多个启动通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆