Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java GUI
|
Java GUI Discussions specific to programming Java GUI.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java GUI section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 18th, 2005, 05:25 PM
Authorized User
 
Join Date: Mar 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ensure only one appl. is execution on PC?

Hi there,

Due to my inadequacy, I need some help for one “simple problem”.
(1) Only one copy of the application can be executed at one time on a desk top. One of the solutions I am trying is to check if a “special temporary file” existed when it first invoked. If the “file” existed, message is displayed to alter the user before it aborts itself. Conversely it creates a temporary file which will be deleted when this application is completed by the user. However this approach will cause problem when the system crashes or the user “kills” it. Under this abnormal condition, the temporary file will cause problem. Is there a method that Java provided for detecting this condition?







Similar Threads
Thread Thread Starter Forum Replies Last Post
WORD Compopnent in VB appl. QM VB Components 1 December 19th, 2012 11:52 PM
VC++ 2005 PC ERROR @ PC STARTUP -JUST IN TIME DBUG CPPGUY Visual C++ 2005 0 October 3rd, 2008 12:52 PM
Best way to connect to the data base Is it Appl... jojys Classic ASP Databases 1 October 20th, 2004 09:23 AM
Dynamically Referring Web Services in a Appl. chandramuralis .NET Web Services 7 October 1st, 2004 07:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.