Set a timer inside a gui

Hello all,
I want to lanch a gui.
Inside the jBinit method i want to initiate a timer.
If no one use the gui in for ex 5 minutes i want a specific action to take place(ex dispose)
How do i do that?
thank u

http://java.sun.com/products/jfc/tsc/articles/timer/

Similar Messages

  • Setting the time in CUE

    Gurus,
    I have a CUE module attached to a 2801 router, running CME. The time on the CME is correct, but the time-stamp the CUE leaves on messages is 45 minutes slow. How can I set the time? As far as I know, I have no NTP server to point the thing to, and the documentation seems to suggest that the clock cannot be set through the GUI or CLI.
    I'm grateful for any advice.

    You have to use NTP. You are out of choice.
    On the CME router, configure it to peer with a public NTP server.
    ntp server
    ntp master 1
    On the CUE, sync clock via NTP to the CME router's ip address.
    HTH
    Sankar
    PS: please remember to rate posts!

  • UC320: how to set (correct) time and date, upload own AA messages, get caller ID, telnet?

    Hello there,
    Just trying out the UC320 I got borrowed from Cisco AT for testing with firmware 2.1.2 (1) localized for Austria.
    The device is connected to the cable modem of my ISP (Kabelsignal) utilizing two FXO ports, getting an IP address from my DHCP being connected to a WS-C2960G-24TD (LAN 1@UC320 connected to Gi0/18@C2960G port macro Cisco Switch enabled).
    Now I would like to try/see the following features:
    - a correct time and date: huh? hwo/where???
    No option to set this right??? No NTP option??? Am I just blind or too stupid to find that option/s?
    - upload own messages for the AA: ok, there are german messages but someone might have a little bit personalized ones - maybe telling callers the company name before asking them to dial the extension if they know it. Making custom messages is not the problem - but how to upload and in which sound/data format?
    - caller ID: my ISP told me that he transfers the caller ID correctly to analoge end devices if caller ID is available and not suppressed. All I can see when a call comes in is which FXO Port is being used by that call. So callback entries on the SPA phone is senseless. Any advise?
    - CLI: You can telnet the device - but which credentials to use to successfully logon? The pre-assigned credentials form Cisco AT are not accepted for logon.
    BTW @Cisco guys: I am also voting for support for the older SPAs (e.g. 942)

    Hi Claus,
    Thanks for giving the UC320W a spin and glad you found the support community!  Let met see if I can help answer your questions....
    Time/Date & NTP -- The UC320W is preconfigured with Cisco's Small Business NTP server.  The preferred method for correct time you will need the UC320W WAN to be connected with Internet access.   If there is no WAN connectivity there is a feature in the 2.1.x firmware where you can set the time on a SPA phone GUI and it will then update the system time.  Alternatively, if you have a LAN side NTP server that is on the same subnet as your Data VLAN subnet, you can use the NTP.pmf file found here:  https://supportforums.cisco.com/docs/DOC-16301
    Upload custom Music on Hold and Auto Attendant prompt files.  We are currently in beta of a new Cloud service.  To participate in the Beta, please send an e-mail to [email protected] requesting MoH/AA Custom files Cloud Beta participation.
    Caller ID on FXO:  Make sure that you have run the impedance matching tool on each of your FXO ports.  For additional information on running the Impedance Matching tool and Caller ID troubleshooting, please see the UC320W Troubleshooting Guide.
    CLI access -- This is for Cisco Support personnel only for low level debugging.  This is not a IOS based device and there is no command line access for provisioning.
    Cheers,
    Chris

  • Query to be see inside a GUI

    Hi I'm a newbie in Java. I did a GUI in netbeans 5.0. I want to connect an Oracle database to that GUI. I have already the connection, but I need to do the print out inside the GUI. If somebody could help me I appreciated. Thanks, V/R Alex

    The database query is runing at the same time of the
    GUI, but separately .Add a method to your model that will return the query. Then you can call that method from the GUI.

  • How do i set my time capsule up to function as an external hard drive

    How do i set my time capsule up to function as an external hard drive? Is this even possible? I had a friend tell me it woudl be a good set up to get a time capsule with my Macbook Air to use as a gigantic external hard drive but then was unbale to wlak me through the setup after I bought the equipment. Any suggestions?

    It depends on what you already have equipment wise..
    Just bridge the TC..
    I cannot walk you through it either if you use v6 airport utility.. due to my refusing to run Lion until it gets network issues sorted.
    Download and run the real utility http://support.apple.com/kb/DL1482
    Go to manual setup..
    Internet tab
    Connection sharing.. select off bridge mode in the drop down box.
    You can then if you like turn off wireless under airport wireless.. The TC is now a plain network client with hard disk.
    Personally I would keep the wireless on but sort the channels manually if you already have a wireless AP or router.

  • How do I set up Time Machine to work with an Iomega network hard drive?

    I have just bought a new iMac having switched from Windows, and am very much a beginner when it comes to all things Apple. Previously I had used my NAS hard drive with my old windows pc. i successfully used it to transfer a lot of data from the old pc to the iMac but can't seem to get it recognised when I try to configure time machine. I have downloaded the latest version of Iomega Home storage manager which appears in the application folder in the dock, but when I click on The HSM icon it just disappears and nothing happens. I can access the drive through the Bonjour service and can see its contents in Finder. I have looked through the forums here but much of the info assumes a level of knowledge that i don't have. Is there an 'idiot's guide' anywhere to enable me to set up time machine to use the network hard drive?

    You would probably benefit from a couple of things, first going through these 2 links
    Time Machine FAQs & Time Machine Troubleshooting.
    If you still have questions there is a TM forum, because TM is part of OS X you will find the forum in the Snow Leopard forum. Click Apple Support Communities and in the search field type Snow Leopard. Once you are in the correct forum you can narrow your search by clicking Refine this list.
    Roger

  • Set up time not considered

    Hello ,
    I am using PP-PI.
    The resource category is '001' machine and having std formulas 'sap001' for setup and sap002 for processing and other formula 'sap006'
    The recipe has setup time and processing time .When i run MRP the planned orders are created  but no set up time is considered in it.
    I tested the formula in resource and it calculates set up time.
    What settings i need to check ?
    Also, for the planned order , in det.scheduling tab system shows 'capacty requirments'(in min).
    But this does not match with production dates.
    Example  - prod dates-  10.06.09 ( 14:00:00) to 24.06.2009(24:00:00) = 10*1440(days avlb capacity) + 14:00 =  14410 mins.
    But the capacity req shown is 15000 mins( opr qty *processing time). 
    What settings i need to chk  ? kindly advise
    Regards
    ShankarR

    Shankar,
    Have you maiantained the scheduling parameters  for planned order in OPU5?
    If not then execute the same & under 'Detailed scheduling mark 'Scheduling' & 'Generate capacity requiremnt'.
    Regarding the differnce in capacity requirement & scheduling, make sure you use similar formulas in scheduling as well as capacity tab page.
    Hope this helps you.
    SmanS

  • Having trouble setting up time machine.

    I'm trying to set up time machine and I go to the program, click it on, and then I click "choose backup disk", but there is nothing there. Is there anything I am supposed to do beforehand to give Time Machine a backup disk to save in?
    My next question isn't about time machine but it might be related. I have to reinstall windows on my mac. I had it before and somehow it caught a virus, so I had to erase and it went to ****....long story short, It broke, I fixed it. Now i have to repartition my drive though. I assume that I have to split it three ways, one for Mac, Windows, and Time Machine. My question is....I want to leave Mac with the most space of all 3, obviously....whats the minimum I can split it to to install Windows xp and get Time Machine working (unless I'm way off and time machine setup is a different way)?

    So one can't back up to a partition on the main disk with Time Machine?
    The iMac comes from the factory with a single partition. If you want TM to backup to a second partition on the iMac internal drive, you will need to Partition the drive using OSX disk that came with the iMac (this erases every thing on the hard drive) and reinstall the OS from the DVD.
    But, I do not recommend that approach. Backups are generally needed if your hard disk crashes. If you are backing up to a partition on the internal disk, you will lose your backup if/when the drive crashes.
    The only reason to use TM on a partition on the internal drive is if you are doing a LOT of version sensitive work (meaning you made need to look at yesterday's work on the same project). But most applications can be set to do incremental change backups of individual projects making TM a ppor choice anyway.
    Buy an external drive for the TM backup.
    (jk)

  • Having trouble setting up Time capsule...

    I just bought a new iMac last night. I also picked up Time Capsule and Apple TV. I'm having a problem setting up Time Capsule correctly. I'll go through what I did step by step and hopefully someone can help me as I've never tried to set up a wireless network before.
    I'm connected to the internet via Comcast. I have the outside cable coming into the modem and the ethernet cable from the modem i have plugged into TC's WAN port (the one with the gear logo).
    I start by opening Airport Utility ( I upgraded to the most recent version using the install disc that came with TC) and it recognizes TC in the left side of the window. It says it found TC with default settings and gives a name for it and an Airport ID. I click continue.
    The next window prompts me to name the TC and assign a password. I do so and click continue.
    The next window gives me some options about setting up a new or existing wireless network. It says it found some existing networks which I assume are my neighbors. I select "I don't have a wireless network and want to create one". I click continue.
    The next window prompts me to give a name and security level to the new network. I provide a name and select WPA/WPA2 Personal and enter and verify a password. I click continue.
    The next window asks whether I'd like TC to be in Bridge mode or Share a single IP address using DHCP and NAT.
    If I click Share a single IP, a popup tells me "This will cause my TC to continue to blink amber and do I want to ignore this and continue?". So I figure this can't be a good thing and I click on Bridge mode not really knowing what it means.
    The next window asks me to enter the TCP/IP info from my ISP. It also says to choose "Using DHCP" if I receive an IP address automatically. So in the box where it says "Configure IPv4", I select "Using DHCP" and there is an IP address and Subnet mask with numbers after each. Below that is Router Address, with fields for DNS Server, Domain Name and DHCP Client ID. These fields are blank. I click continue.
    The next window says TC will use these settings:
    TC name - Jim's Time Capsule
    Wireless Mode - Create a wireless network
    Network Name - Jim's Network
    Wireless Security - WPA/WPA2 Personal
    Connect Using - Ethernet
    Configure IPv4 - Using DHCP
    IP Address - (Provided Automatically)
    If settings are correct, click Update to finish setting up your TC or click Go Back to change settings. I click Update and a box tells me that the device and its network service will be temporarily unavailable and do I want to continue? I click continue.
    The next window tells me that the settings for TC have been updated successfully and its being configured. I then get a window reporting a problem.It says-
    "Problem 1 of 1: Internet Connection
    Your Apple wireless device does not have a valid IP address. Make sure your Apple wireless device is connected to your broadband modem or local network, verify your settings and try again. If you still can't connect, call your ISP."
    There are two boxes with options. The first is "Connect Using" and "ethernet" is selected with "PPoE" being the other option. The second box says "Configure IPv4" and "Using DHCP" is selected, and "Manually" is the other option.
    Obviously, I'm doing something wrong, but I don't have a clue. I'm getting online fine when I plug the ethernet cable into the back of the iMac. I've reset the modem by hitting the reset button. The light turns green on the TC but I can't connect to the internet. Any ideas? Feel free to call me a big dummy
    Jim

    Thank you, Jim Somoygi. I had a similar multi-hour odyssey with a AE and a Comcast cable modem.
    This solved the seemingly endless blinking amber light:
    1. unplug power from the modem and AE (or time capsule). Go get a beverage of your choice (wait a couple of minutes).
    2. My modem has a battery backup (Comcast phone service). So, I pressed a tiny reset button on the back of the Comcast modem (it's made by Arris). With the battery backup, I'm not sure I would have been able to reset the modem simply by unplugging.
    3. Make sure there is an ethernet cable connecting the cable modem and the AE or TC
    4. Plug the modem back in, wait for the lights to come on. I also had to press a "standby" button on the front of the modem to get all the lights to come on.
    5. Plug in the AE (or TC)
    6. Green light on the AE (it's not easy being green)
    7. Choose the appropriate Airport network & surf away.
    I will say that the problem seems to be with the modem, rather than the AE. Once I reset the modem, I could configure the AE with ease. Once the AE is configured, it is absolutely rock stable. Before I fiddled with the network & brought this on myself, I enjoyed shockingly stable networking with the AE -- much better than with previous attempts with Netgear or Buffalo products (although I do like the ease with which Buffalo products can be configured together, using their proprietary handshaking protocol "AOSS").

  • How do I change the name I have called my MacBook Air so I can add 11" and 13" into the title of whose computer this is for more clarity when I set up Time Machine and save to it with both computers?  Both are named with "my name and MacBook Air"

    I'm still learning the whole Mac thing but these are great machines!  I purchased a MacBook Air 13" and then thought I should also get a MacBook Air 11" for travel.  When I set it up at the Apple store I told the assistant the exact same name for each machine, i.e., "my name and MacBook Air."  What I want to do is go back in and rename both of them adding the 11" and 13" designation to the name so that when I set up Time Machine or whatever else I know exactly which machine is what.  I'm sure it is very simple but I cannot seem to figure it out.  Help please. Thanks.

    Go to System Preferences - Sharing and change the computer name there. You can also, optionally, change the name of your hard drive to further clarify the origin of your backups. Click once on the "Macintosh HD" on your desktop, then click its name to allow you to edit it.
    Matt

  • How do you set the time period on IMAP email accounts (razr maxx)

    Hi Guys -
    Does anyone know how you can set the time period that the stock email will keep the already downloaded messages for IMAP email accounts?
    Mine never seems to show more than a couple of days worth at a time. I'd ideally like to be able to see at least 2 weeks worth of messages without needing to download them again!
    On other phones I've had there was a setting in the menu, but either I can't find it...or it's not there. I've found the setting for how OFTEN it checks the accounts, but not the setting I am seeking.
    Your help is appreciated!
    Best Wishes for the Holiday Season.
    -Rich

    Hey Rich.  Once in 'settings,' there should be a "days to sync' under the 'data usage' section.   You don't have that?

  • How to set up time capsule with BT home hub 4.0 & Openreach

    Idiots guide needed.
    My TimeCapsule (year old model) had been running well from my BT Openreach box (without using the Home Hub 4.0) but recently had issues with connection dropping - BT said they've sorted out their end and can't see any remaining issues and can't offer me any more support if I'm not using the Home Hub 4.0
    I reset the TC to run straight from the Openreach Box  still have issues with wi-fi dropping in and out (both on ethernet and wi-fi).
    Can I:....
    1)     set up Time Capsule running from BT Home Hub 4.0 which itself runs from BT Openreach white box (thus continuing to get support from BT)
    or should i go back to
    2)      Time Capsule running straight from BT Openreach Box
    Can some one post an idiots guide to either option?
    Other stuff that may be important.
    Macbook air running Yosemite (mid 2011 model)
    Apple TV
    Airportexpress
    Time Capsule
    2 x iphone 4s
    Kids PC
    Ethernet and wifi for above - I generally run everything hard wired via ethernet.

    The easiest and sure way is to use bridge on the TC as the method of connection. The TC then becomes a device in your network and gets its IP from the main router that I presume BT supply.
    Method is,
    1. Plug the TC WAN port into the BT supplied modem by ethernet.
    2. Plug the computer you are using for the setup into the TC by ethernet.
    3. Run the airport utility .. go to internet tab on the top menu..
    In the bottom option, Connection Sharing choose off (bridged mode)
    4. Go to the wireless page and setup wireless connection as you like it.. using whichever band you want. And make sure security is set to the highest setting, wpa2 personal. Put in a decent wireless passkey.
    5. Press the update and fix whatever else the TC will show as needing fixing.. usually security stuff.
    6. You can then disconnect the ethernet and connect by wireless if you want. Any port on the TC will now be a LAN port, including WAN.
    This is assuming BT supply a wireless router with built in vdsl/other type of modem. If so you normally will not be able to bridge the modem, unless BT are using pppoe authentication which they haven't in the past.
    If you really need to use the TC as a router then you will need to work out an alternative method. You can double NAT by placing the TC in the DMZ of the BT router if that is an option. It is not without issues in general.

  • HOW TO SET UP time capsule with time machine?

    I have not been successful in setting up time capsule with the time machine,can someone give me steps to follow?

    What part are you having problems with?  You need to make sure File Sharing is enabled on the Time Capsule (which is done in AirPort Utility).  Then you just connect to the Time Capsule either wirelessly or via ethernet cable and when you go to Time Machine setup your computer should recognize your Time Capsule as a valid storage for Time Machine backups.

  • How to set up time capsule with BT Infinity

    how to set up time capsule with BT Infinity

    The easiest and sure way is to use bridge on the TC as the method of connection. The TC then becomes a device in your network and gets its IP from the main router that I presume BT supply.
    Method is,
    1. Plug the TC WAN port into the BT supplied modem by ethernet.
    2. Plug the computer you are using for the setup into the TC by ethernet.
    3. Run the airport utility .. go to internet tab on the top menu..
    In the bottom option, Connection Sharing choose off (bridged mode)
    4. Go to the wireless page and setup wireless connection as you like it.. using whichever band you want. And make sure security is set to the highest setting, wpa2 personal. Put in a decent wireless passkey.
    5. Press the update and fix whatever else the TC will show as needing fixing.. usually security stuff.
    6. You can then disconnect the ethernet and connect by wireless if you want. Any port on the TC will now be a LAN port, including WAN.
    This is assuming BT supply a wireless router with built in vdsl/other type of modem. If so you normally will not be able to bridge the modem, unless BT are using pppoe authentication which they haven't in the past.
    If you really need to use the TC as a router then you will need to work out an alternative method. You can double NAT by placing the TC in the DMZ of the BT router if that is an option. It is not without issues in general.

  • How do to set up time limits on a guest network

    I have a new generation Airport Time Capsule and I have set up a Guest Network for my kids but I would like to set up time limits on the Guest Network also, is there a way to do it?

    It is not possible to set up specific time limits for the Guest Network as a whole, but it is possible to set up individual time limits for each device that will be connecting to the Guest Network.....and, also the main network for that matter.
    If you can provide us with some more specifics on what you are trying to accomplish, how many devices will be involved, etc.......that will help us craft our answer to provide accurate information.
    Meanwhile, if you want to take a look at the general settings in Timed Access....
    Open Macintosh HD > Applications > Utilities > AirPort Utility
    Click on the Time Capsule icon, then click Edit
    Click the Network tab at the top of the screen
    Enter a check mark in the box next to Enable Timed Access
    Click on the Timed Access button
    Click Cancel to avoid making any changes to your current setup

Maybe you are looking for