Bums...

import java.awt.Graphics2D;
import java.awt.geom.Point2D;
import java.util.Random;
public class CityBum
     public CityBum(double initialX, double initialY)
          x = initialX;
          y = initialY;
     public void draw(Graphics2D g2)
          g2.draw(new Point2D.Double(x, y));
     public void moveBum(Graphics2D g2)
          Random NSEW = new Random();
          int direction = NSEW.nextInt(4);
          if (direction == 0)
               y++;
          else if (direction == 1)
               y--;
          else if (direction == 2)
               x++;
          else
               x--;
          g2.draw(new Point2D.Double(x, y));
     private double x;
     private double y;
}What's wrong with this code?
I keep getting an error message of:
draw(java.awt.Shape) in java.awt.Graphics2D cannot be applied to (java.awt.geom.Point2D.Double)
at line 14 and 28.

You're passing a Point2D.Double to a method that's expecting a Shape. Stop doing that.

Similar Messages

  • New Apple TV = No Hard Drive = Bumming!

    I am really thrilled by the lower price, and size profile. It looks awesome. I also love the fact that it will stream from Netflix without needing a Wii or Play Station or other peripheral. However, there are a few things I question.
    I am bumming that there is no built in storage of any kind. One of best features of our existing Apple TV's (we have them in 3 rooms) is the ability to put various photo files we've created directly onto the hard drive. We love having the pictures scrolling to music when when we have company and parties. I don't want to have to fire up the computer and iTunes each and every time I want to do that. It was also nice to have certain music and few of the kids movies on there that we could listen to or watch without having to have the computer running.
    My thought around this is that it would be nice if the USB port allowed use of a thumb drive. You can get 16GB+ fairly cheap (I have a 64GB) that would be cool to load up and do what I mentioned above. Maybe they are working on something like this?
    Although I realize everything is evolving, I hope there is some kind of update allowing streaming Netflixs, etc. to existing Apple TV's. They are perfectly good and it would be a shame for them to become outdated simply over a few hardware revisions. I know that had I bought one of the "old" models here in the last 6 months I'd be none to happy.
    Best to all.

    i don't think it's a matter of Apple not caring.. i think they do care and wanted to simplify the product for a majority of users (you can't please everyone). it's just that syncing is buggie, slow and confusing for many, many users.. i'd guess that over half of the posts on this appleTV forum are by people who are having trouble with syncing in some way or form.. i agree that the streaming model is not that great if all you have is a laptop, but if you have a desktop it makes WAY more sense to stream. streaming means you basically have no limits whatsoever on storage size.. if you put a hard drive in appleTV, no matter what size it is.. there will be lots of people it will be too small for (i have ~2TB of media to store).. then even if you want to enable to USB port to add storage you have to consider a backup strategy so people don't lose all their data in case of a HDD failure.. it's a big complicated mess, that's just not worth it in the end.. so they moved to a pure streaming model.. their customer surveys apparently show that most people don't want or need syncing.. so in an effort to simplify the product in use and in the minds of users appleTV is now streaming only.
    i think for people with a laptop the best thing would be to just get a cheap-free computer.. can likely get one for free that someone is throwing away.. it can be really junky.. it just needs to run iTunes.. add drives to it an use that to stream to appleTV.

  • Need lot size in BUM in QA32

    hi,
    i given BUM as PC and production unit in KG in material master work scheduling view.
    planned order is in PC process order on COr2  and field 'total qty' is in PC
    md04 screen showing order in PC
    no in QA32 lot size showing in KG
    how can i get this lot qty in QA32 in BUM ie PC.
    lots regards
    roshan

    give solution..........any possibility
    i am geting lotin qa32 in prod. unit KG but UD in base uni of measure  PC
    can it possible to get insp lot in PC.i am using auto GI and GR.
    regads

  • Bummed with iMovie '09

    I just want to say how bummed I am with the new iMovie. I recently
    got a shiny new MacBook Pro (thanks, work) and all's good except for this new version of iMovie. The old one was just so intuitive - you could see your clips in one, obviously laid-out timeline. You could see the audio level line and create your own custom fade-outs according to picture. Sure, I bet iMovie '09 has way better functions but functionality is a whole different issue - one that Apple usually gets right but sadly didn't in this case. Seriously bummed. Is it just me? Do I fear change and should I just get over it?

    It's not just you: in an attempt to simplify iMovie and speed "production" I think Apple certainly "over-achieved" with the introduction of iMovie 08 -and swung back to more usability with '09. But as you point out: the visual interface of iMovie HD is more complex but also more versatile in that it allows for finer editing of sound tracks. I really! loved being able to fade background music in and out in coordination with my voice-over narrations. I see no way of doing the same thing with iMovie '09 (i.e, iMovie 8.x).
    I also liked it that iMovie HD has sound filtration to moderate extraneous sounds (like traffic noise) but iMovie 09 does not have this, as far as I can see. Nor does '09' seem to have tint, brightness, contrast or desaturation controls. I've started using "old" QuickTime Pro (v. 7.6) AV controls for "pre-processing" clips before using either iMovie HD or 09.
    Yet, I also love the "shake removal" feature in iMove 09. So what I've done is to keep iMovie HD for more post-processing of clips and sound tracks while using iMovie 09 just to pass the clips through shake removal.
    I do agree with others on this thread that one can get used to handling some of the other differences in iMovie 09. That applies at least to snipping off unwanted bits by selecting and then cutting.
    So it seems to be a mixed bag with tradeoffs. I hope some of my workarounds (above) may help you.

  • I purchased the package that allows you to export PDF files into Word files.  Whenever I try to export the PDF into a Word file it never works...  I don't know if there's something key that I'm missing but I'm pretty bummed I paid for it and it won't work

    I purchased the package that allows you to export PDF files into Word files.  Whenever I try to export the PDF into a Word file it never works...  I don't know if there's something key that I'm missing but I'm pretty bummed I paid for it and it won't work.  Can anybody help me out?

    Hello,
    I have paid for this service for a year and it never worked on my computer.  I just renewed and it finally converted the file but it will not let me edit it.  I join you in being bummed.  Either I get help with this or I am asking for a 2 year refund.   My intention was to be able to edit a pdf in MS Word. 
    pfierrorob

  • I'm so bummed :(

    Got my new iMac in today (20" 2.4Ghz, 1GB ram). Get it set up on it's desk and turn it on.... no video !!!!! It made the start up chime and everything but no video. So I called apple tech support and to make a long story short spent 2 HOURS on the phone with the "basic" tech as he read me troubleshooting techniques from his computer. Finally he sent me to the Advanced Tech Support and in 5 mins he said he'd escalate it to the next department to get a replacement to me since it didn't work out of the box.
    So yeah i'm bummed my new iMac is DOA. Also kinda upset that it took the regular tech guy 2 hours to transfer me. It was try this... ok hold on lemme check.... over and over again. This is my first mac so I really don't have a whole lot of troubleshooting to go on, but the display never even flickered.
    Yes the computer comes on, it chimes, it beeps when I hit try to adjust the brightness and it asks me what language I want to set it up in.
    Oh well, have to wait another week.

    Were the things the tech recommended things that you had/would have tried yourself? If so, I recommend that if you have a similar problem that requires a call to Apple, try anything and everything yourself first. Then when you've established that you've not f-ed anything up, and the unit is in fact DOA, call Apple and say "yes, I've tried that, yes, I've tried that" and you might be able to skip a lot of that time on the phone.
    My sister bought a refurb MacBook Pro with a keyboard that didn't work. Rather than call right away, we spent an hour fiddling with it, trying everything we knew they'd ask on the phone. As a result, she spent 15 minutes on the phone, and had a box overnighted to her to return the unit. She got it back 2 days later, fully working.
    It's definitely ironic that your first Apple doesn't exhibit life, let alone stability. But remember, Apple's pinnacle of stability is its OS - the hardware parts will fail much sooner than the OS will (whereas with a PC, Windows is in a desperate race not to crash before the parts fail, haha)! Hope it works out quickly for you.

  • BLuuuury DVD. Bummed - would love help!

    I have a slide/show interlaced with some video clips.
    I have Mac OS X 10.8.5
    3.4 Ghz, 32 GB ram
    Profject settings : HD1080i, 29.97 frames per second
    Fileds, upper filed first
    Capture Fomat HDV
    Video Render : Maximum bit dpth and Oprimize stills checked
    Image sizes in project: 3264 x 4928, Filke size 8.5mb
    Movies are .mov, 720 x 480, 29.97 frame rate
    Overall project is about 5 minutes long
    I read through some posts, and just totally confused and bummed right now. My movie seems to play fine on the MAC until I burn it, with others, on a DVD. (I create seperate movies and then combine into a DVD with chapters). Each movie is about 1.2 gB , but when they are all added to one project and set to burn, it says it only needs 1.5GB of space (1/4 of whats expected)
    Is ther anything I can do to not make my DVD look like a 5th grade project. My pictures alone are so crsip and beautiful, and just get trashed with the DVD creation.
    Thanks so much!
    Chuck

    Chuck
    I just deleted what I had written previously in this particular space. I had a misread on what you did (SD) and what you plan to do (HD).
    The suggested workflow is going to change in view of the different source, the .m2ts files. Are these 1920 x 1080 interlaced or progressive @ 29.97 frames per second?
    If 1920 x 1080 @ 29.97 interlaced frames per second, then the project preset should be set for
    NTSC
    AVCHD
    Full HD1080i30
    If 1920 x 1080 @ 29.97 progressive frames per second, then the project preset should be set for
    NTSC
    DSLR
    1080p
    DSLR 1080p30 @ 29.97
    When you go to resize your photos, resize them to 1920 x 1080 16:9.
    Publish+Share/Disc/DVD disc with preset = NTSC_Widescreen_Dolby DVD. That is going to be 720 x 480 16:9.
    or
    Publish+Share/Disc/AVCHD disc (DVD) with preset = H.264 1920 x 1080i NTSC Dolby (more later on that)
    The typical outcome is AVCHD DVD cannot be played on DVD player, whereas the DVD-VIDEO on DVD disc can.
    However, a recent report by a Premiere Elements user with a $2000 Panasonic DVD Recorder/Player seems to suggest that at least she could playback AVCHD DVD on that player which is not a Blu-ray player. More on that another time.
    More later.
    ATR

  • Bummed UK pre-orders on 6/17 shipping faster than US orders (MINE) on 6/16

    Super bummed that Apple is sending out units to people who ordered a full 24 hours after I did. I have been checking hourly only to see the dreaded "Not Yet Shipped" and at the same time I see posts from lucky UK persons who's iPhones have. I hope Apple is going to get these phones to us earlier than JUNE 15-19! P.S. where are all the phones from the canceled pre-orders going? I have seen a ton of postings from people who were able to walk in at Apple and AT&T stores get an iPhone and cancel their order!

    compwiz1202 wrote:
    No he's saying it should be first in first out, and I agree.
    I would have to agree. I don't think anyone should be able to walk into an AT&T, Best Buy or Wal-mart to purchase a new iPhone until ALL pre-orders have been filled. It just doesn't make any sense to me that Apple is shipping out supplies to retailers when there are still so many people waiting for their new iPhones that were pre-ordered before the official release date. Just my 2 cents!!!

  • Bummed about FCS3 or just stupid?

    I am so bummed about my upgrade to FCS3....unless I'm just doing something wrong.
    I have a clean install of FCS3 on new Mac Pro, Quad-Core Intel Xeon, 2.26 GHz.
    No LiveType.
    After reading tons of posts I'm learning that a custom install of LT will do the trick unless you have FCStudio 1 with FCP 5.0 (rather than 5.1) which is not compatible with the Intel Macs.
    Please tell me I'm misunderstanding this and this is not the reason I've been unsuccessful so far with the custom install. I'm using LT 2.0 discs from FCP 5.0 and LT crashes after opening. I see the files I've installed but can't seem to use the program.
    Second question: if I'm SOL w/ LT would I at least be able to access the LT backgrounds, lower thirds and various fun graphic elements for use independent of LT program.
    Thanks so much for your help.

    Thanks for your response. I have not found Motion to have the same ease of use as LT when on deadline. I also have not found all the LT goodies in Motion either. For instance, where are the backgrounds, lower thirds, graphic elements? When in a hurry, these have been life-savers and I really hate to lose them.

  • Material to material transfer if bum is diff

    Hi friends,
    Can i do material to material transfer if the base unit of measure is diff. if suppose one bum is in each and other is in kg. i have maintain in both the material the alt unit of mea. say 1 kg = 1 each. but still i cant transfer the material . pls help.
    thanks and regards,
    Solomon

    Solomon,
    You need to create a materail "Scrap Drum" with UNBW material type. Now add this material with -Ve quantity in the "Goods Movement" screen during confirmation. This would help you to recieve this scrap drum as byproduct, and without any value.
    You can Issue the same material for production of new. May be what you can do is to maintain this material as "Alternate Group" in BOM item level details along with raw material used for making drum. The important thing to be noted here is that the strategy should be "2" with usage probablity as "100%", so that system will first propose scrap drum for Issue.
    Hope this helps....Reward your points,
    Regards,
    Prasobh

  • Are QOS BUM Policer BUM Parameters applicable for virtual ports or only for non virtual ports?

    Are QOS BUM Policer BUM Parameters applicable for virtual ports or only for non virtual ports?

    Just FYI.
    I probably overestimated RHEL/OEL-5.3 capability to "compete in Music Showbiz" as a digital studio workstation OS. Seems that "very old" alsa kernel drivers (1.0.17), compiled with actual kernel, don't like Audigy cards when it comes to MIDI interface, despite the fact the audio is perfect. Although I am still not sure nothing could be done as a workaround in order to get MIDI worked on OEL-5.3, the fact is that SB Audigy MIDI works like Roland Synth, sounding amazingly, if the kernel 2.6.18-128.1.1.0.1.el5 is recompiled with the actual alsa driver version 1.0.19 (modules snd-emu10k1, snd-emu10k1-synth, etc).
    It's interesting that overall device and loaded-modules schema's picture is the same as with old alsa (original kernel). That's why I still think something could be done, at least as workaround, to get MIDI worked with original OEL-5.3 kernel.
    NJ

  • Relatn. betn the BUM of two materials

    Hi friends
    In QA32>UD>inspec lot stock>to new material i want to enter the qty. But the base.u.m. of inspection material is diff from the new material. so how can i do it. where can i maintain the relationship between the ba.unit.m of two material. pls help.
    Thanks and regards,
    Solomon

    Hi SOLOMON
    your scenario has been tested and it's working fine. It has to work in QA32 as I mentoned above
    Pls cross check and make sure that the alt unit of measure is maintained in both the materials
    Product A - BUM is EA and alt unit of meausre is KG
    Product B- BUM is KG and alt unit of meausure is EA
    Pls try it out
    regards
    Vijay

  • Open Purchase order Qty based on BUM

    Dear Experts
    We place the po in different different unit But I need the Open quantity based on basic unit of measurement.
    how can I take this details. what and all tables I need to look to conver order unit to base unit of measurement .

    Hi,
    Take the selection option from ME2O. How u want Pur. group base. Or user base
    SAM

  • How can I prevent Firefox from ever automatically updating without my say so. It just did, and DESTROYED all bookmarks. I'm BUMMED about that

    There were NO .json files saved anywhere in the 'puter. I need to be reliably OPTED OUT of automatic updating unless the auto destruction forces warn me aforehand to backup my cookies, bookmarks, email and etc. When I now click on Help, I get an automatic start of "downloading Firefox 3.6.6" WHAT KIND OF HELP IS THAT?

    Your bookmarkbackups folder is your Profile folder which is normally a folder hidden by Windows.
    See:
    https://support.mozilla.com/en-US/kb/Lost+Bookmarks#Restoring_bookmark_backups
    http://support.mozilla.com/en-US/kb/Profiles#How_to_find_your_profile
    http://kb.mozillazine.org/Show_hidden_files_and_folders
    Everything indicates that you have Firefox 3.6.3; the current version is Firefox 3.6.6. To check your version at any time, click Help > About Mozilla Firefox.
    You can manually check for updates by clicking Help > Check for Updates.
    To change your options on Automatic Updates for Firefox: Tools > Options > Advanced > Update
    See: http://support.mozilla.com/en-US/kb/Options+window+-+Advanced+panel#Update_tab
    I use the "Ask me what I want to do" option. It will still check, but ask you if you want to update <u>'''IF'''</u> you leave the check mark next to Firefox. Un-check Firefox and you run the risk of missing important security updates. With Firefox checked, it should check for updates, by default, once per day.
    <u>'''''Other Issues'''''</u>: ~~red:You have installed plug-ins with known security issues. You should update them immediately.~~
    <u>'''Update Java'''</u>: your ver. 1.6.0.17; current ver. 1.6.0.20 (<u>important security update 04-15-2010</u>)
    (Firefox 3.6 and above requires Java 1.6.0.10 and above; see: http://support.mozilla.com/en-US/kb/Java-related+issues#Java_does_not_work_in_Firefox_3_6 )
    ''(Windows users: Do the manual update; very easy.)''
    ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
    See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
    Do the update with Firefox closed.
    <u>'''Update Shockwave for Director'''</u>: your ver. 10.1 (~~red:very old~~); current ver. 11.5.7.609 (<u>important security update released 2010-05-11</u>; see http://www.adobe.com/support/security/bulletins/apsb10-12.html)
    NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
    SAVE the installer to your hard drive (Desktop is a good place so you can find it). When the download is complete, exit Firefox (File > Exit), locate and double-click in the installer you just downloaded, let the install complete.
    IMPORTANT: I have found it wise to always restart your system after doing anything with Adobe products.
    See: '''[http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox#_Installing_Shockwave Installing Shockwave]'''
    <u>'''You'''</u> ~~red:<u>'''MAY'''</u>~~ <u>'''need to Update Adobe Reader for Firefox'''</u>: your ver. N/A; current ver. 9.3.2
    ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
    See: http://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox#Installing_and_updating_Adobe_Reader
    ''<u>You may be able to update from the Adobe Reader installed on your system</u>'' instead of going to the Adobe site and downloading. Start > Program Files, find and click Adobe Reader to open, click Help, click Check for Updates.
    ''<u>If you go to the Adobe site to download the current Adobe Reader:</u>''
    -'''<u>use Firefox to download</u>''' and <u>'''SAVE to your hard drive'''</u> (save to Desktop for easy access)
    ~~red:-See the images at the bottom left of this post to see the steps to take on the Adobe site~~
    -exit Firefox (File > Exit)
    -check to see that Firefox is completely closed (''Ctrl+Alt+Del, choose Task Manager, click Processes tab, if "firefox.exe" is on the list, right-click "firefox.exe" and choose End process, close the Task Manager window'')
    -double-click on the Adobe Reader installer you just downloaded to install/update Adobe Reader
    *<u>'''NOTE: On Vista and Windows 7'''</u> you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). See this: http://vistasupport.mvps.org/run_as_administrator.htm
    *'''<u>NOTE for IE:</u>''' Firefox and most other browsers use a Plugin. IE uses an ActiveX version. To install/update the IE ActiveX version, same instructions as above, except use IE to download the ActiveX installer.
    *Also see: http://kb.mozillazine.org/Adobe_Reader ~~red:'''''AND'''''~~ [[How do I edit options to add Adobe to the list of allowed sites]]

  • After updating my itunes to the latest software, my iphone is not recognized in itunes.  Normally, when i plug my phone in to be synced i would get two bell-like noises that confirmed my phone was being charged/synced, now i get 3 monotone "bum bum bum"s.

    my iphone 4 (3G) is no longer showing up in itunes, and is no longer even a recognzed device by my computer since i updated itunes.  i was going to try updating my iphone software, but it is suggested to back it up before i do that, but i cant back it up if its not showing up in itunes, etc. if i plug in my ipod, i have no problems whatsoever. can anyone help me out here? i feel like an idiot. thanks

    If the hard rest isn't working then it sounds like its not going to turn on. Accidently damage isn't covered in you limited hard ware warranty. The iPhone 4 and below is 149$ to replace and iPhone 4s is 199$

  • Does the mophie juice pack plus work with iphone 5s or do I just have a bum pack?

    Just bought my iphone 5s.  The guy in the store sold me a Mophie juice pack plus but it is not charging my phone...message is that the device is not certified and may not work reliably with this phone.  Is it the wrong product for my phone (5s)?

    Hello KThomLV
    According to the Apple Store Online, it is compatible with iPhone 5 and iPhone 5s
    Mophie Juice Pack Plus for iPhone 5/5s
    http://store.apple.com/us/product/HD069ZM/A/mophie-juice-pack-plus-for-iphone-55 s?fnode=48
    Regards,
    -Norm G.

Maybe you are looking for

  • My iPhoto on my mac will no longer photo steam photos to my iPhone. Help please?!

    I usually add the photos i want on my phone to photo steam and the automatically upload to my photo steam album on my phone. all of a sudden its stop working. I have updated both my mac and iphoto. Its still not working

  • Making brushes

    Hallo folks, I'm wanting to make my own "Artist's stroke brush." What I was planning to do is get an A4 pieces of paper and apply some thick brush strokes on it with paint, scan them in to Photoshop and I'm guessing I would fill the bacground so that

  • How to include a prebuilt package in packagemaker

    I wish to create a package that installs software, but the software depends on X11 support. So, I would like to have the package that I am making install XQuartz if it is missing. I have the XQuartz package, but I can't seem to make it go into Packag

  • How do I disable password login at startup??

    Since installing Yosemite 10.10.1, every time I turn on my MacBook Pro I have to Select User and then login with my password. I don't want this, since I'm the only user and it wastes time. This didn't used to happen before installing Yosemite. I can'

  • Dashboard Prompt - Getting error for Adding SQL query in "Default to"

    Hello Oracle, I am facing some problem in Dashboard Prompt. Like when i add some sql query in "Default to" in Dashboard prompt and for the next prompt when i check for Contrain option i get error in the second prompt. but it works fine when i hard-co