Looking for a susggestion???

Hi guys,
i am looking for a good suggestion. Okay let is explain the problem. I am trying to create a print spooler with Queue ADT. I have to pass the speed of the printer and probability of job arrival as an input to the program. Then the program generates a random lenght of job and adds it to the Queue. The problem is that i don't know how to check this lenght of job and see if the printer is still busy or not if the job is finished then get the next job and remove it from the Queue.
It looks like i need a timer thing. But can i have a timer in java? any other solution?
abdul

Yes, you can have a timer in Java. The Timer class would be a good choice. (Hint: there's a link to the index of all classes and methods at the top of every page of API documentation.)

Similar Messages

  • Movie rentals that I downloaded onto iMac with Lion to do not show up on ATV 2 in menu for computers.  Purchased movies show up just fine.  What to do or look for?

    I have an imac that is running lion and an Apple TV generation 2.  I have rented a movie from itunes and it shows up on my imac in Itunes under a rental icon, and will play fine on my computer.  However, it does not show up as choice to play on my apple tv.  I have homesharing enabled and everything else works fine including purchased movies that are on my imac, but no where does it show rental movies. 
    What do I look for?  What do I do to play the rental movie on my apple tv 2?

    Answer to my own question:
    Wait until the downloaded rental has completed its download to the imac.  This took a long time for me, since it was part of several things that I was downloading at the same time.
    Finally, it showed up on my apple tv.   Interestingly, I was able to watch much of the movie on my iMac before the movie finished its download and was available to the ATV 2.

  • Need help to open and look for file by name

    Hi,
            Im needing help to open a folder and look for a file (.txt) on this directory by his name ... The user ll type the partial name of file , and i need look for this file on the folder , and delete it ....
    How can i look for the file by his name ?
    Thx =)

    Hi ,
        Sry ,, let me explain again ... I ll set the name of the files in the follow order ... Name_Serial_date_chanel.sxc ..
    The user ll type the serial that he wants delete ...
    I already figured out what i need guys .. thx for the help ^^
    I used List Directory on advanced IO , to list all .. the Name is the same for all ... then i used Name_ concateneted with Serial(typed)* .. this command serial* ll list all serials equal the typed , in my case , ll exist only one , cuz its a count this serial .Then i pass the path to the delete , and its done !
    Thx ^^

  • Looking for a Darknet/Secure BBS app

    I have been a fan of Haxial KDX for the longest time, but due to the bugs, etc., I would like to move on.  I'm looking for a secure darknet/bbs styled program that supports chat, filesharing, and of basic user management (who can login, who can't, etc..).  I have been asking this question all over the web, and haven't gotten (or found) a single response.  Waste has never worked right for me, by the way.  I would definitely prefer it to be open source, which is why I thought it best to post here.  Please help out, or at least direct me somewhere where I should ask... Thanks.
    As an aside, the guy who wrote KDX and Hotline (Adam?? Hinckley) claimed on the Haxial website that he is willing to sell the project.  I wouldn't mine purchasing and restarting the KDX Project, but I've been unable to get in contact with him.  So...if you are him, or know him, or own the rights to Haxial KDX and all related projects...$$$$$
    Last edited by xen0blade (2010-01-12 13:18:15)

    I've recently become a big fan of OneSwarm - http://oneswarm.cs.washington.edu - I like that it supports remote access.
    But I'm definitely interested to see what this thread brings up!
    Last edited by hAyZe (2010-01-11 20:50:45)

  • Looking for a simple, standalone desktop app for web stats

    Well, I see they've changed the forums here again. SIGH.
    Anyway, a certain web host has eliminated AWStats from it's shared hosting. So I used Webmaster Tools. And now they've changed, and no longer display the simple visitors and hits. Google Analytics is way too complex for what I need, as are many of the stats programs I've looked into.
    I can download the daily Apache log files, that's no problem. Just looking for a small standalone program to import these and show the data like AWStats.  Any suggestions? The only other options would be to go to a different web host. Not a big deal overall, but I would rather not deal with the hassle, especially the migrating the database.

    Not sure of standalone 'desktop' apps. But check out http://www.openwebanalytics.com/ and Web Analytics in Real Time | Clicky  - they're both very intuitive and easy to use with a lot more simplified stats than Google Analytics.

  • Looking for Video playback app, like a DDR

    Hello, I'm looking for a program to cue up and playback quicktime files for live broadcast off of the computers hard drive. Kind of like a DDR but all running on the computer. It needs to have the ability to cue up files based on keystrokes, like 123 enter = playack of 123, and be pretty quick about it.
    I found Playbackpro.... at WWW.DTVideolabs.com but I'm looking for some other options.
    Thank you.

    Unfortuately I cant load the clips into quicktime since it's crashing when I load them..
    Just hoping for a light weight app that's sole function is video file inspection

  • Looking for a real photo editing app.

    I'm looking for something that can precisely resize and crop. None of this slider bullcrap where you can't get pixel level precision. I'd like to be able to crop at exactly 640x960 for example, or resize to exactly 820x620, etc.. Something that can do non destructive edits and that can save a jpeg without compressing it so much that image quality is noticably less. Photogene2 is great (nice edit features and good quality saves) but it can't crop or resize exactly by the pixel. Phototoaster is great (nice edit features and non destructive edits) except it can't crop and resize by the pixel. How hard would it be to provide numerical inputs for crops and resizes? Is there anything out there really worth buying that can do these essential tasks?

    Photoshop Touch
    https://itunes.apple.com/sg/app/adobe-photoshop-touch/id495716481?mt=8&ls=1

  • Looking for a high-res drawing app for the iPad

    I've tried a few of the available iPad drawing apps like Sketchbook Pro and Brushes. It's a little hard to tell, because documentation tends to be short on details, but it appears that most of them (with the exception of Brushes) only let you work and export images at 1024 by 768 resolution. That isn't really high enough resolution for professional work.
    Brushes is the only exception I've found. You work on the iPad in Brushes at 1024 by 768, but they have this OS X app that can convert your exported images to a higher res.
    To me that's crazy awkward and time-consuming, and I think Brushes is OK as a drawing app, but not necessarily what I'm looking for.
    Can anyone give me some better insight into the matter?
    Is there some underlying technical reason that all of these apps have a hard limit of 1024 by 768 resolution?
    Is there an app other than Brushes that can produce pro-level (high resolution) image files on the iPad?
    Thanks,
    JS

    Yubz Magnum really has great sound. They come in four colors too.
    Check out the new remodeled MacOSG website! 24-hour Apple-related news & support.
     MacOSG: An Apple User Group  iTunes: MacOSG Podcast  Follow us on Twitter: MacOSG

  • Looking for a program or app

    just coming from windows,i dont know if you call them apps or programs? im looking for something that will keep track of customers,money they owe,and money they pay.would be nice if it worked with the calendar and phone book but not necessary.thanks

    You didn't provide the actual name of the Windows program you are using so that features or prices can be compared. What do you expect to pay for a program, or do you want to use an online system that has monthly fees?
    I don't know of any inexpensive programs for the Mac that are specifically set up for Farriers, but there are many database type programs that might be adapted to your needs. GrandTotal, $79 - offers pretty good integration with the Mac Address Book and Calendar (especially if you get it bundled with their TimeLog program for an extra $10) and it also has an iPhone-iPad program that can read open and due invoices you've created with their program.
    You could also take a look at Bento, $49 - from FileMaker, which also has a program for iPhone-iPad. They offer some invoice templates that you can download and modify.
    Both of these companies offer free trials.
    I haven't used either of these products, but I am looking for something with better integration with my iDevices. The Quickbooks Connect program for iPad only works with the Windows version of Quickbooks Pro 2011 and requires a monthly subscription. Windows users are still complaining about it's lack of features so I'll probably pass.
    One of my clients has offered to buy my Quickbooks for Mac, and I might take him up on it if the GrandTotal program works out for me. The program is great, but not very nimble on-the-road.
    Hope this helps.

  • Looking for a cool music app (music creation, recording, playing)

    Hi there,
    I was looking on the app store if there's such application but didn't succeeded at the moment.
    I'm looking for an app that would allow me to create music on the fly with a "midi-keyboard" with which I would record some notes then loop the sample and record a second track.
    And build my simple music by playing bass line, then adding some beat, etc...
    Any idea if it exist?
    thanks in advance

    Please be aware that you are not communicating with Apple when you post in these forums. Most of the people who will reply to your posts are, like me, your fellow users.
    As to your issue, first, make sure that you did not inadvertently make an in-app purchase. Many apps, particularly games, are free for the base game but charge for additional features such as levels, "coins" and other such add-ons. Check your Purchase History to see if that reminds you as to what you might have purchased:
    http://support.apple.com/kb/HT2727
    If you find that this was an in-app purchase, to prevent this from happening again, turn off "In App purchases" in the Restrictions settings on your device. For more information, see:
    http://support.apple.com/kb/HT4213
    As to a refund, that's not automatic since the terms of sale for the iTunes Store state that all sales are final. You can contact the iTunes Store, explain the reason for your request, and ask, though:
    http://www.apple.com/support/itunes/contact.html
    They're usually pretty lenient in the case of inadvertent purchases, but there are no guarantees.
    If the charge was not an in-app purchase that you made and forgot but the charges do appear in your Purchase History, contact the iTunes Store and let them know. You should also immediately change your password for your Apple ID. If the charges don't appear in your Purchase History, they were probably fake charges made directly to your credit card, and your card issuer will need to handle those.
    Regards.

  • Looking for a database collection app for children

    Hi,
    I am a primary school teacher and I am looking for a interesting way for my children to learn about databases and spreadsheets this term using the Ipads. I have looked at using Numbers but I am looking for an app that is child friendly and looks at them creating their own fields and collect their own data. Ideally want them to also use the camera to collect data and do majority of this on the ipad rather than sync it from a pc. Anyone kow any good apps for this?

    That looks perfect!
    I googled at first, and found a site with an alphabetical list of about 30 different database options. I got about 4 into it before deciding I should ask the experts. :)
    Thanks a lot!

  • Looking for a client appointment app

    I'm looking for an application for a friend who is a personal trainer. And if such an application doesn't exist, I'm considering writing one (I'm a software engineer)
    The application would maintain a database of clients, and a schedule of appointments with them.
    For each client, the following data needs to be maintained: contact information, current statistics (weight, body fat percentage, strength) as well as a history of statistics. Clients pay for a package of sessions in advance, and the app would keep track of how many prepaid sessions remain, updating that number with each scheduled appointment and each payment. Every client has recurring appointments, several per week, but rescheduling is common, and needs to be easy. And the app should be able to print out a year report for taxes.
    I was thinking that it should interface with Address Book for contact information, and Calendar for appointments.
    The main app should run on Snow Leopard, but mobile access through an iOS 4 sister app would be great. (Although if it works with Address Book and Calendar, their synchronization through MobileMe might be sufficient)
    Is there any such thing? There must be other trainers, and other professionals with similar needs.
    -Ron.

    Hi Ron,
    was there a template for bento that met all of the requirements that you detailed?  My wife is a personal trainer and we've been looking for similar functionality in an app.  Currently she's using the calendar app and contact book, but as you say, rescheduling is frequent and tracking remaining sessions would be very helpful.  Let me know,
    Paul

  • Looking for a Trade Show app

    Was at a trade show back in November 2010 and saw someone using the iPad to take down customer information and send their contact info, not having an iPad at the time i didn't think to ask what the app was called.
    I'm looking for an app that will allow prospects to input their contact information and possible check a few boxes of products they would be interested in, once they hit submit it would then send me and email with their information and a thank you email for signing up with my contact information included in it sent to their email. Does anyone know of an app that would allow me to do this?
    Matt

    I don't know of any existing Apps, but it sounds more like something a simple web-based HTML form would be more than suitable for. As long as the iPad has a net connection (which it would need to have to send an email) you just host the web-page on your companies web-site and view it in Safari on the iPad.
    You can even make it look like a proper app by hiding the Safari toolbars and saving it as a web-app.
    This is something someone with moderate web development skills could put together and customise it to look as you want and contain whatever checkboxes, form fields you want.
    Here's Apple's information on creating web-pages optimised for iPad/iPhone Safari:
    http://developer.apple.com/library/safari/#documentation/appleapplications/refer ence/safariwebcontent/OptimizingforSafarioniPhone/OptimizingforSafarioniPhone.ht ml
    You could also use a pre-built library such as:
    http://www.jqtouch.com/
    http://jquerymobile.com/
    http://www.sencha.com/products/touch/

  • Looking for a 2014 InDesign calendar (full year) WITH holidays. Can't find one with holidays.

    Looking for a "year at a glance" InDesign calendar WITH holidays. I can't seem to find any with the holidays. Thanks

    Screw it?
    I sent you a link as to how to use Calendar Wizard (free) to make a calendar with interfaith holidays.
    If you just want ordinary holidays, Calendar Wizard (http://calendarwizard.sourceforge.net/) does everything you want?
    What more do you want?

  • Looking for a notetaking app that syncs with PC

    I use playbook for mobility but PC for work.  I am looking for a (simple) note taking app that will allow me to sync with PC - preferably via dropbox. I used to use cintanotes on PC but that doesn't sync to PB.  Looked at Evernote but seems bloated and some adverse reviews.  Some others exist by seem to have issues also - eg Simplenotes.  Anyone out there found a good working solution?
    Solved!
    Go to Solution.

    One named NotePad is free, saves as .txt files.
    Another, WriterRoom, costs $1.99USD, and saves as .txt and .doc files.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for

  • Can not create an iTunes account because I'm from Puerto Rico?

    I've tried to create an iTunes account multiple times but it wont accept my Billing Adress saying it doesn't match the information on the banks record but i have eBay and Amazon connected to that card, why is it that iTunes won't accept it?

  • Sales & operation planning error

    Hi PP Gurus, Flexible planning scenario. In transaction mc93 while copying data from source info structure s004 from period 01.01.2007 to 31.10.2010 ,system is copying the data  but it is getting copied to period 01.2008 to 04.2008. And there is no d

  • Convert string into XML inside BPEL

    Hello , How to convert string into xml format ? And make element and define attribute inside it ??

  • Allow me to ping internet but browser have no internet reply

    hi all, below is my config that it can ping internet (on inside network) or even trace to internet but can't open any site on the IE browser (i tested the client browser to a real internet and it works). : Saved : Written by enable_15 at 10:49:24.439

  • Another Safari 5.0.6 problem (spinning pinwheel)

    MacBookPro 2.33 running 10.5.8 This A.M., Safari begins to load, after 20 sec. --> spinning pinwheel until force quit. Only this computer; others on home network with Time Capsule work fine. No new plugins, widgits, programs.  All software uptodate.