Few questions I have about the stuff I am about to program

Hi,
I was wondering if anyone can tell me how would I go in programming a graphing program that allows the user to enter an equation such as, x^2 +2x - 1, x^2 -1, etc. and allow them to enter a domain of x values then it plots the points and joins the segments. Like I want to know do I use an array or? better yet if there is a tutorial that would be great thanks.
I am making a sketchpad and when the user presses the arrow keys, it draws a line and stuff in the specified direction. Is there a class that acts like a pen?
thanks in advance. im new to this sorry.

I am making a sketchpad and when the user presses the arrow keys, it draws a line and stuff in the specified
direction. Is there a class that acts like a pen?Google for 'java etch-a-sketch' and you'll get lots of examples.

Similar Messages

  • I have few questions to ask about the Expert Series and Valet Series

    Hello.
    I have few questions to ask about the Expert Series and Valet Series.
    1. I see there aren't any print server/bridge/access point for these two new series. Do I have to use previous ones? Or the new ones are in planned in near future?
    2. Do I "HAVE TO USE CONNECT SOFTWARE"?  Can I just use web interface to do every setting that these routers features?
    3. Does expert series routers support guest network and parental control?
    4. When I look into informations of these router, some router doesn't give information about backward compatible to older standards. Do I have to consider that as they are backward compatible with older standards?
    Ok, that's all for now.
    If I need to ask more questions I will do that in this thread as reply

    With the New Expert or the Valet Series Router, you still can use the Print Server / Bridge and Access Points.
    Well with the Expert and Valet Series router, you have an option to User Cisco Connect Software or you can User Web Interface of the Router. But with the Cisco Connect Software you have an Advantage of creating a Guest Account and using Parental Control , which is not available using the Web Interface.
    These both the routers are backward compatible and they can connect to your G Series Product.

  • I can't remember my security questions and have used the maximum number of tries, how do I find out what my answers are so I can log in and buy some music?

    I can't remember my security questions and have used the maximum number of tries, how do I find out what my answers are so I can log in and buy some music?

    From a Kappy  post
    The Best Alternatives for Security Questions and Rescue Mail
    1.  Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
    2.  Call Apple Support in your country: Customer Service: Contact Apple support.
    3.  Rescue email address and how to reset Apple ID security questions.
    An alternative to using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • Hi i have i problem with my iphone and the problem is the security question i have forgot the answers

    Hi i have i problem with my iphone and the problem is the security question i have forgot the answers
    I understand German and Italian i littlebit English

    You need to ask Apple to reset your security questions; this can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (106626)

  • A few questions and comments about the 2010 MBP i7

    Hi! I'm pretty new to owning a Mac computer and I actually always wanted one. I bought the top of the line Macbook Pro 15" i7 8GB, 500GB SSD notebook. I have a couple of questions on its usage.
    1) Overheating is a big issue. Many people noticed overheating with the i7 MBP. Temperatures range from 38C to 60C when using iTunes/Safari/Word. Temperatures shoot to the 70C-85C when playing games. Once you hit the 70C mark, the notebook part above the keyboard is pretty hot. However, I wouldn't care if it doesn't damage my computer so my question is, will 85C temperatures damage a Macbook Pro?
    2) Screen Scratching: Do MBP screens scratch easily? I have quite a few fingerprints a day on the screen but is it like the iPod Touch anti-scratch screen?
    3) Freezing: I've been having the MBP for 2 weeks now and my MBP has frozen twice. It wasn't because of the heat but Finder wasn't responding and I could not force quit. However, it worked after 30 seconds. Does this happen often and will it be a long-term issue?
    Even after the overheating issue, Macs are still better than PCs. It's so much easier and neat than a PC.
    5) Do you guys have any tips to using a Mac? Any accessories?
    6) I installed SMC Fan Control. If I set it to 6000 rpm, will there be any significant damage to the fans? Are the fans durable?
    Thank you all for the help!
    Message was edited by: kevinzhengli

    Just came across this thread while looking for info on the newest MBPs, and their (lack of) ability to cool themselves. Wanted to throw my 2c in.
    I have to strongly disagree with the recommendation to not install fan control software. I have an early 2008 MBP, and I frequently play video games and encode video. When left to defend itself, I have witnessed the CPU temp reach 202 F. Sorry, but that's totally unacceptable, and I manually adjust the fans to mitigate the heat.
    After 2 years of this, I am convinced the excess heat has harmed my system. It's very disappointing to hear that the new models still have problems with heat.

  • A few questions on setting partitioning the hardrive.

    Hello,
    I am reinstalling Arch because I want to make the jump from i686 to Arch64. I really want this to be the last time I reinstall an OS on this laptop, so I have a few questions on the most efficient way to set up the partitions.
    1) Is it safer to have a seperate boot partition? I really don't mind setting aside 100MB or so for boot, but I keep hearing you really don't have to do that with Arch anymore.
    2) How does optimization work? Are partitions that are created higher on the list faster to access? What I'm looking for is a really fast computer while in use. I don't care about boot time very much, and my swap drive is barely used. Would this be a good set up for what I'm looking for?
    SDA1 Root
    SDA2 VAR
    SDA3 Home
    SDA4 Swap
    SDA5 Boot
    3) Is ext4 a good idea? I really like the speed and all that, but it's still in development, right? When it's finished, would I be able to update the filesystems or once I make them are they always stuck in their current state? I was thinking ext2 for boot then ext4 for everything else.

    I'm not too sure on that one as i have never tried it but it might be possible to boot from your live cd, backup your /var partition reformat it then copy the data back on to it but don't quote me on that.
    I don't think you will notice any difference regarding which order you mount your partition's, I have been through a bunch of different partition setup's and have not noticed any speed difference between them only between different filesystem's
    I have the same partition setup as your first post minus the boot partition
    /dev/sda1 / ext4 defaults,noatime 0 1
    /dev/sda2 /var reiserfs defaults,noatime 0 1
    /dev/sda3 /home ext4 defaults,noatime 0 1
    /dev/sda4 swap swap defaults 0 0

  • A few questions before I buy the 13" air.

    I need to buy a laptop within the next week so I have a few questions about the air.
    Does the 13inch i5 version support hyperthreading to 4 cores and turbo boost?
    Is the difference in performance between the i5 and i7 worth it?
    Would the air be good enough to use word/PowerPoint with a lot of tabs open in chrome with no lag? (School laptop)
    Am I better off getting a 13inch BBP? Or is the air the same performance wise? (I don't need the DVD drive or ethernet)

    All the intel chips have the turbo boost. No MacBook Airs have quad core chips. They are only duo core. You need the pro book for the quad cores. As a school laptop the air is great because of the SSD. It opens quickly after moving while studying here and there. You can buy a pro book then eventually put a SSD in it if that is what you are looking for. But because apple makes all of their parts and software, you do not need as big of a cpu as you would need on a PC.

  • My apple id is locked due to trying to answer my security questions i have forgotten the answers to

    please help me unlock my apple id, it has been locked because i have tried too many times to answer my security questions that i have forgotten the answers to. the help setttings told me that there would be a link saying "forget answers? send an email to reset the questions" but when i tried there wasnt anything there saying that, it was just blank.
    if you could help me in anyway that would be amazingly helpful xx thank you

    You need to contact Apple to get the questions reset. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    (95027)

  • A few questions for people with the new ipod

    1. does it scratch easily?
    2. is there any other way to put video on it (instead of quicktime)?
    3. which is better the white or the black?
    4. can you take video off it. (use it as an external hard drive for video. or is it like music where you need to download a program to remove the video? if so what program?)
    thanks

    1. yes so they say (had for a week now and no problems yet. I have the white one.)
    2. use hand brake or pspware.
    handbrake for video_ts files and pspware for all other files.
    3. white see less scratches (think of a car)
    4.once you go through itunes you have to use a 3rd party program, have not tried any with the video part yet.

  • Some Questions I Have About the GE70 Apache Pro

    Hi Y'all,
        I'm new here to the MSI Community and am looking to make my first purchase of a MSI Notebook.   I'm looking at the new GE 70 Apache Pro because of the budget I have to work with thanks to having to go out and spend $6K to get my car fixed( but that's another story for a whole other day and a whole other online forum).   I also have a ton of other gear that I carry with me on a daily basis so weight is critical to me.  Forgive me because this is going to be my first real experience with Solid State Drives so if I ask something that seems stupid or dumb I'm pretty much a noob when it comes to them.   I'm purchasing the Samsung 840 Evo 120GB mSata SSD, yes I would love to go out and get a bigger capacity SSD but again have to think of the budget, and I understand the basics of doing the actual physical installation into the computer itself but am a little unclear about certain things.
         1.    How do I get the OS installation onto the SSD itself?
         2.    Do I have to do anything special in the BIOS to get the computer to recognize the SSD?
         3.    As far as the recovery partition goes should I leave that on the actual mechanical hard drive or transfer that to the SSD as well?
         I'm looking at the Apache Pro 012 with the 4th Gen i7 4700, 12 GB DDR3, 1 TB 7200RPM HD, and the Nvidia GTX 860M.   Yes I would have loved to have purchased a top of the line GT Dominator Series laptop with all of this work already done for me, but the budget wouldn't allow me to do so.   I don't do all that much as far as gaming goes.   I play World of Warplanes and World of Tanks and that's as far as my gaming experience goes.   I mainly use my machines for doing amatuer photography and working with Visual Studio and other App Development IDE's so as far as the Apache Pro goes I feel it will be the best fit for me inside my budget.   Any assistance y'all can offer me would be greatly appreciated and I want to thank you all in advance for your help.
    Code Gunner

    Hello,
    Quote
    1. How do I get the OS installation onto the SSD itself?
    Burn and prepare MSI Recovery DVDs, then:
    Disconnect/remove your HDD, and leave the mSata SSD installed only.
    Then use the burned recovery DVDs to restore it over the SSD.
    Once you can boot your OS from the SSD and restore is complete,
    install again your HDD, and adjust boot prioroty 1st boot: SSD
    Or other options is to do a new fresh OS install on the SSD, instead using MSI's recovery disks,
    other steps are the same.
    Quote
    2. Do I have to do anything special in the BIOS to get the computer to recognize the SSD?
    nope
    Quote
    3. As far as the recovery partition goes should I leave that on the actual mechanical hard drive or transfer that to the SSD as well?
    On your original HDD leave everything as is, don't format it and don't  change defaults partition configuration, ie: leave it as is.
    By that way you will preserve the stock configuration and will have extra backup of urgent cases:
    After your OS is setup on you SSD, you can boot from your HDD,
    and to make OS image backup of your system partition [or assume will be one 128GB partition of your SSD]
    and to create backup image, you can do this with Acronis True image or similar.
    By this way if you have OS failure [installed on SSD], or SSD failure,
    you can always boot your original config by pressing F11 and choose HDD,
    then to use Acronis to restore the last know working by desired way OS backup over the SSD,
    or over the new SSD
    - - - Updated - - -
    Hello,
    Quote
    1. How do I get the OS installation onto the SSD itself?
    Burn and prepare MSI Recovery DVDs, then:
    Disconnect/remove your HDD, and leave the mSata SSD installed only.
    Then use the burned recovery DVDs to restore it over the SSD.
    Once you can boot your OS from the SSD and restore is complete,
    install again your HDD, and adjust boot prioroty 1st boot: SSD
    Or other options is to do a new fresh OS install on the SSD, instead using MSI's recovery disks,
    other steps are the same.
    Quote
    2. Do I have to do anything special in the BIOS to get the computer to recognize the SSD?
    nope
    Quote
    3. As far as the recovery partition goes should I leave that on the actual mechanical hard drive or transfer that to the SSD as well?
    On your original HDD leave everything as is, don't format it and don't  change defaults partition configuration, ie: leave it as is.
    By that way you will preserve the stock configuration and will have extra backup of urgent cases:
    After your OS is setup on you SSD, you can boot from your HDD,
    and to make OS image backup of your system partition [or assume will be one 128GB partition of your SSD]
    and to create backup image, you can do this with Acronis True image or similar.
    By this way if you have OS failure [installed on SSD], or SSD failure,
    you can always boot your original config by pressing F11 and choose HDD,
    then to use Acronis to restore the last know working by desired way OS backup over the SSD,
    or over the new SSD

  • Could someone clarify some questions I have about the download folder?

    I use my computer mainly for audio recording. I'm constantly downloading updates to virtual instruments, updates for programs, new applications, etc. Once I download something and install it, can I delete the file from the download folder? If it's an application, do I need to drag it from the download folder into applications?
    Also, there are lots of .dmg files. I've always wondered about these. Once I have opened it and installed the program, is there any need to save them? Or can I trash them? As you can see from the screen shot, some of those files are really big and I'd like to get rid of them.

    If you no longer need a downloaded file you can delete it.
    Downloaded applications need to be installed in the Applications folder. You do not drag anything from the Downloads folder to the Applications folder unless you are draggin an Application from an archive or disc image.

  • A few questions to owners of the Zen Micro (pretty bro

    I just bought a Micro, and I love it so far . 5GB seems just the right amount and the touch pad is much more to my liking than the iPod's click wheel.
    I am, however, worried about the quality of the product overall. It seems like the board is full of problems with the Micro, and that kind of worries me >_<. So here are my questions:
    ) My unit does not have the text "Back" button; it's an arrow. Does this mean it's one of the new ones, and is hence less prone to the headphone jack/hard dri've problems?
    2) Did you purchase any extra coverage plan? The Best Buy I bought the unit from offers a 3-year plan for $60 (Canadian funds), but I'm not sure if I should get it. How helpful is Creative's support, if helpful at all? I bought the unit in an open-box, after returning one unit which seemed to not be sensiti've to my fingers at all (scared me right off the bat :x).
    Thanks for your help.

    This is a support forum. People come here only if they have problems and so it is not indicati've of the overall quality of the product.
    FWIW, I've owned my Micro since late January, have used it just about everyday, ~4-5 hours each day, and have had no problems at all. I have one of the early ones which, if you go by what you read here, should have exploded on me by now. As far as I can tell I have all of my limbs and I can still hear the music so everything must be ok.
    The sound quality is great, the interface is a bit goofy but it does what I need it to do which is hold a bunch of music and play it.
    Don't worry about it, just listen to the tunes and enjoy life.

  • A few questions. Opinions from the community would be appreciated.

    I briefly touched over this in the introduction thread. Assuming you did not read that though.
    I am more or less entirely new to Linux, I put Ubuntu on my system no more than a week ago being recommended it as a beginners Linux. I have little to no experience with Linux at all.
    That being said..
    I am extremely interested in learning Linux inside and out. Computers, hardware and software both are a huge passion of mine.
    After some reading I've found very mixed opinions from others about Arch, many describe it as a Linux for experienced "geek" users. While I've been told by others that if I want to use Arch I should just jump into it because they used "insert distro here" for "insert number of years here" and when making the move they realized all of the years spent on other simpler distros didn't really teach them anything anyway. So I would like the communities opinion on the matter, if Arch users agree with the former or latter.
    Now the second, possibly more important question. I don't have Internet on the computer I will be installing Arch on at the moment. I haven't really been able to find a whole lot over the matter and I wasn't sure if that would be an issue when I get Internet back and I'm possibly stuck with just a terminal. I don't want to screw myself over or anything so I wanted to ask here first.
    I hope my questions weren't too annoying, and appreciate any help I get.
    -x0r

    Trilby wrote:
    x0r.h4 wrote:I love the "you get what you want and nothing more" attitude
    Yes, but with arch that may be made more explicit as "you have to go get what you want, it will not be brought to you."
    Indeed. No fancy software centers or GUI package managers here. You want something? Find the package, install it and configure it. Fortunately, the wiki works great both for installation of the OS and in almost every post-install matters. But anyway x0r.h4, you'll need an internet connection on a rolling release distro.
    x0r.h4 wrote:Fully understandable. I've noticed most people who move to a new distro have been using other distros for years already.
    Ive ran across far less people who are new to Linux entirely.
    I've used Ubuntu long enough now to know that although I dont hate it by any means like so many others have expressed that they do, I don't necessarily "love" it per say. It's a great OS in my opinion, but like you already stated its very much like Windows. I still felt most of the same restrictions you get from Windows along with a generally Windowy feel to it. I didnt really feel like a Linux user using Ubuntu and Unity.
    That's mainly why I stopped using *buntu and Mint. I wanted an OS which gave me total freedom to add, remove and create; and even though *buntu and Mint are not bad OS they are pretty restrictive. I tried openSUSE and had the same problem, but although I was running Debian for a couple months and I learnt a lot it still wasn't what I wanted. In that way, Arch is just what the doctor ordered for me. I allows me to build my "own OS" from scratch and set it up my way.
    x0r.h4 wrote:I know I want a more "free" distro, I love the "you get what you want and nothing more" attitude. I just wasnt sure if it was a bad place to start seeing as Arch has a bit of a reputation for being a more difficult distro.
    That's the spirit All you need is the will to learn. You will have a better knowledge of how Linux works "behind the scenes", it'll give you more flexibility as an user and a bit of a sense of what is to really administrate an OS. The distro it's pretty easy to use, but the first hours for an unexperienced user (by first hours I mean installing the system, configuring it and run the basic post-install routines) can be pretty rough. Still, if you follow the wiki you should have no problem.
    Again, my advice is to not install Arch on a computer without internet connection, but if you can solve that then if I were you I would go right for it.

  • A little help please on a few questions i have.

    im brand new to the forum as in this is my very first post.
    ok i will describe my computer the best i can so that i can get the most accurate answer possible. so bare with me.
    so i have a macbook pro 15" that was purchased in summer 07 brand new. it's 2.2 ghz with 4gb of ram running on os.x 10.6.2
    im still using the really small 120gb hdd. i want to update to something insanely big cuz i need the room and don't want to have to worry about it. pref. a 1tb internal. what size does the disk have to be ( i.e. 2.5" ect.) and what are some good brands that wont break the bank.
    ive been looking at this its only a 500gb and i heard the faster rpm the better. (correct me if im wrong im only going by what im told)
    here is the link: http://www.newegg.com/Product/Product.aspx?Item=N82E16822148374
    ive got an external 1tb but i don't want to put all my stuff on there and have to plug it in and keep it plugged in. i want freedom to move.
    any suggestions guys??

    Another option would be to remove your optical drive, and install a second HD, using a kit like
    this, which includes a USB optical drive enclosure. If you rarely use the optical drive and/or don't mind toting it along, this would get you your 7200RPM 1TB internal storage, but you're going to spend over $300 doing it. You could also put an SSD in the optical drive bay, but that's even more money for less capacity. Food for thought.

  • HT5312 how to reset security questions i have forgotten the answers

    i have got a i phone tried to buy an app as its the first purchase it asked me to answer question i created and dont know the answers for? how do i reset the questions or find my answers?

    Welcome to the Apple Community.
    Start here, and reset your password, you will receive an email with your new password, then go to manage your account > Password and Security and change your security questions.
    If that doesn't help you might try contacting Apple through iTunes Store Support

Maybe you are looking for