To make a java application which is not a threat for some time
Hello Everybody,
I have a program. It opens a web page by using exec method. and than I want it to wait for 2 minutes and then I want to close it. My program doesnt uses threats. I don't want to count an integer in a loop. is there any soltioms that you know?
Thanks
You might want to look into the javax.swing.Timer class...
Mind you that this class internally relies on threads. If you don't want to mess with home made threads this is the best solution, I think. If however, (for whatever the reason) you CAN'T use threads, the ol' int-loop is the only alternative.
Now hand over them dukes! :)
Similar Messages
-
I do not have an Apple computer, I have had Itunes previously but had not used it for some time, I have Itunes gift cards but can not get ,on to use them. I have tried to download Itunes again but the following keeps poping up, "The Itunes library is locked on a locked disc, oryou do not have write permission for this file." How can I overcome this?
To solve this issue all I did was check to ensure that the file permissions were set as described by the earlier posts, followed by simply deleting the iTunes Library Genius.itdb file. Once the file was deleted I was able to open iTunes without difficulty. Note that I am running Windows 8. Hope this helps!
-
One of them uses Enterprise Java Beans implemented with a SUN NetDynamics application server. The other is a straight Java application. Ideally I want the second application to remotely invoke methods on the existing Java beans, so the existing business logic will not be duplicated.
This would seem to be simple, but NetDynamics appears to substitute some proprietary code for part of the EJB interface, and it is not immediately obvious how to let "foreign" java programs access the beans.
I would appreciate it if anyone is able to provide any information on how to achieve this. If you know of any sample code that I could look at, that would be a help too. This may (or may not) be known to SUN as a "stand alone java client".hi,
can someone help me how to implement logging for method entry parameters and
method exit return value.
can someone help me how to use log4j and integrate it to the method entry
logging and method exit logging.
Here what i need is without writing the log statements for the method entry and
method exit i need to log it to the file
along with other log4j debug statements i provide in the file.I should be able
to configure whether to enable/disable the logging
for method entry and method exit. In method entry i should be able to log the
parameters the method take and in method exit
i should be able to log te return value to the log file, before the method is
returned to the callee.
i hope i am clear
Thanks in advance. -
Iphone 3 GS was not being used for some time. When I charged it for use the screen is not becomeing bright. The images are very dim although i increased the brightness. Pls assist.
Since it's a new machine, contact Apple Service, iMac Service or Apple's Express Lane. Do note that if you have AppleCare's protection plan and you're within 50 miles (80 KM) of an Apple repair station, you're eligible for onsite repair since yours is a desktop machine. That also might apply to newly bought ones inside the first 90 days.
FWIW, IMO, the AppleCare extended plan's the cheapest insurance you can get for your new desktop machine. -
How to make upgrade from application server and not from central instance?
Hello SAP Gurus!
I have SAP ECC release 6.0, and I´m gonna make upgrade to enhancement package 6.06, do you know if Can I make upgrade from application server, but not from central instance?
Thanks.Hi Victor,
Upgrade process has to execute from the server where message server is running.
So I guess it is not possible to initiate the SAP upgrade from application server.
Regards,
Deepak Kori -
How to make a Java application that will change the client box's IP address
HI how to make a Java application( that application would be run on the client ) that will change the client box's IP address ( IP address of itself )
If you can do that through the command line, then use Runtime.getRuntime().exec(...) to execute your command.
-
Upon switching on my ipad, I'm getting the caption "Unable to Download Application "*Solitaire" could not be downloaded at this time." Further, I'm getting 2 options - Done & Retry, both of which are not responding. The ipad is in the hanged situation for all practical purposes. How do I get out of this situation?
Try a reset:
1. Hold the Sleep and Home button down (together)
2. For about 10 seconds
3. Until you see the Apple logo (very important)
4. Ignore the red slider -
Windows xp runs java application but does not compile it - urgent please
Hi
My new PC(portable) does not compile my java progran:
'javac' is not recognized as an internal or external command, operatable program or batch file.
If you have any suggestion, please let me know!
AriaThanks anyhow;
The following information is sent to beginners site.
I have talked to british, belgian and others regarding this problem. They said it is very expensive and we laughed.
Hi,
Windows XP runs java application but does not compile it. I get following message:
'javac' is not recognized as an internal or external command, operatable program or batch file.
MS-DOS does not exists but a command line edits autoexec.nt having allinformation regarding installed jdk5. I run my java applicat
ion from here. But no compilation.
Environment variables has following information.
JAVA_HOME C:\jdk5.0
CLASSPATH C:\jdk5.0\myPrograms
path %JAVA_HOME%bin
All information in autoexec.nt exists as windows 98 and I run it from command line.
Would you please tell me what is wrong?
Thanks
Aria -
Java.lang.Exception: Could not get name for DC project
Hello Experts,
We have a code which is downloaded from SVN repository.
I have imported the code from my desktop into NWDS and when I try to deploy it throws,
java.lang.Exception: Could not get name for DC project
I have referred few threads in SCN and solution suggested is to change the workspace and create a new DC & copy the _comp from old DC.
I tried the above solution but there are lot of build errors as we have few RFC models and it is throwing build errors for missing model reference.
Kindly help me on how to fix the error.
Thanks, SwarnaprakashDear Swarnaprakash,
The Web Dynpro DCs Import C:\----\user\.dtc\LocalDevelopment\DCs\sap.com\test and
the related package for DC is missing once check it after try to import.
Depending on which Java compiler preferences are set, you may see some
warnings in the "Task" view after importing the project. If the severity level for problems of type "Unused imports" (set in Preferences – Java – Compiler) has the value "Warning", the compiler will issue a warning for unused import references. Ignore these warnings!
Still You getting means delete your .metadata before take the backup.after open the NWDS again it will set new configurations in your system.
Thanks & Regards,
Durga Rao. -
Programs which are not being executed for a specific period
Hi,
We are planning to do the application upgrade in few months,with respect to that we would like to find out what all programs/transactions(standard or custom) which are not being executed for a specific period.What is the way to find this?
Regards,
SamHi Sam,
You can use st03 and defice theprograme name and period to sotp the activity.
Regards,
Anil -
Blocks in standalone applications which can be double clicked for changing parameters
Can we have blocks in standalone applications which can be double clicked for changing parameters.
something like an options/configure button which opens another window and helps us to change tha parameters of that particular
block.Well, you will need to program your application that way. Maybe I am not understanding this correctly but what parameters do you want to change in your standalone application?
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies -
Why does my IPad put I's, which is not a word, for the word "is"?
Why does my IPad put I's, which is not a word, for the word "is"? This I's driving me crazy!
You probably typed an error that got accepted in your keyboard dictionary. To get rid of it, reset your keyboard dictionary. Go to Settings > General > Reset > Reset Keyboard Dictionary. This resets all the suggestions you’ve made to the dictionary.
To accept or reject dictionary suggestions:
To reject the suggested word, finish typing the word as you want it, then tap the suggestion to dismiss it before typing anything else. Each time you reject a suggestion for the same word, iPad becomes more likely to accept your word.
To use the suggested word, type a space, punctuation mark, or return character. -
Revision: 13128
Revision: 13128
Author: [email protected]
Date: 2009-12-21 13:46:32 -0800 (Mon, 21 Dec 2009)
Log Message:
Fix for ASDoc tooltips does not show ASDoc for some functions
QE notes: None.
Doc notes: None
Bugs: SDK-24751
Reviewed By:Paul
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-24751
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelGenerator.javaWelcome guy -
Unless you are using Spry menus as a learning experience, you should move forward to a menus system that will display properly on the millions of portable devices that won't work with Spry which was deprecated 2 years ago.
Many are using JQuery menus or pure HTML/CSS menus.
If you wish to continue your Spry for learning experience, we'll be glad to assist; please let us know.
By the way, your submenus are not showing because you need to add the red value to this rule in your vertical CSS
ul.MenuBarVertical ul.MenuBarSubmenuVisible{
width: 220px;
left: 180px; -
i have an ipod touch 3rd gen this is my second ipod touch my fist one the battery died after 4 years so then a bought this one (ipod touch 3gen) and it works perfectlybut for some time know it wont charge anywhere else thats not my macbook pro and the thing is the only charges and its recognized only on one of the USB porst of the laptop i have a windows 7 computer but it wont charge there have a linux (ubuntu) machine and doesnt work either, the wall charger with the same cable i use on the laptop and wont charge either i plug it on my sisters car and wont charge my char wont charge anyways i wont charge anywhere else thats not my macbook pro only with 1 of the 2 USB pork that the MBP has..... any help? can someone ewlp me? i really doubt its the battery cause it charges fine on my MBP :/.... oh now i recently upgrade to OSX Lioin but the problem perssist I did the recent update but the problem persists :/
- See:
iPod touch: Hardware troubleshooting
- Try another cable. Some 5G iPods were shipped with Lightning cable that were either initially defective or failed after short use.
- Try another charging source
- Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
- Make an appointment at the Genius Bar of an Apple store.
Apple Retail Store - Genius Bar -
my phone 4 some time music player sound coming and volume up and down not show screen .then some time sound coming.. why
Hello @voicewizard,
I understand that you are having audio issues with your audio having to ramp up before it hits the normal output range. I would be happy to assist you, but first I would encourage you to post your product number for your computer as there are numerous HP ENVY 810 All-In-One Desktop PC variations. I am linking an HP Support document below that will show you how to find your product number. As well, if you could indicate which operating system you are using. And whether your operating system is 32-bit or 64-bit as with this and the product number I can provide you with accurate information.
How Do I Find My Model Number or Product Number?
Which Windows operating system am I running?
Is the Windows Version on My Computer 32-bit or 64-bit?
Please re-post with the requested information and I would be happy to provide you with assistance. Thank you for posting on the HP Forums. Have a great day!
Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
Dunidar
I work on behalf of HP
Find out a bit more about me by checking out my profile!
"Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter
Maybe you are looking for
-
Using a old iMac as a Secondary Display
Can I connect a Late 2006 24-inch, iMac to a 27' Late 2012 iMac and use the 2006 iMac as a secondary Display
-
Avoid putting database in quiesce mode
Hello all, had a question with regards to dropping EM repositry. When i run below on 11.2.0.2 i get a warning saying DB will be put in quiesce mode emca -deconfig dbcontrol db -repos drop WARNING : While repository is dropped the database will be put
-
Animations Missing in Keynote 09
Can someone explain why Apple would remove the FALL animation from Keynote 09. I used this very frequently. I think they have replaced it with FLOP ;-(
-
HT201210 Restoring my pictures etc after update crash
I clicked on the ios 7.0.6 update. Shortly after it started, an error came on stating the iphone had to be "restored". I elected to have it save my Contacts. After it came back on, I tried to go to the backup on my computer. It couldn't find any
-
Hi guys, Any idea how to permit autodiscovery over my WLC 5508? My customer has a software for ordering that the only way to connect to the server is the auto discovery. It works fine with autonomus AP but it doesnt work when connecting to my Lightwe