I thought I would share some code also...

Here is something I have been working on for a quite a while also:
public class HolaMundo
    public static void main(String args[])
        System.out.println('\u00a1Hola Mundo!"):
}I think the spanish gives it a kind of international feel.
I hope you all like it.
Oh, by the way, I get some errors when I compile it, could you tell me what the problem is.

How about this:
public class HelloWorldInternational {
  public static void main (String[] args) {
    for (int i = 0; i < args.length; i++) {
      String temp = (String)greeting.get(args);
if (temp == null) {
System.out.println("Sorry, I don't know \""+args[i]+"\".");
continue;
System.out.println(temp);
private static Map greetings;
static {
greetings = new HashMap();
greetings.put("English", "Hello World!")
greetings.put("Espan�l", "�Hola Mundo!");
greetings.put("Russkye", "Privyet Mir!");
greetings.put("Latina", "Salve Terra!");

Similar Messages

  • Thought I'd share some code...

    Here's a neat little event dispach helper I wrote a while back...
    do as you will but credit me.
    package util;
    import java.lang.reflect.*;
    import java.util.*;
    import javax.swing.event.*;
    import javax.swing.*;
        @author jim higson
    public class EventHelper
    /** @param listeners - any colection of registered listenerers
        @param listenerClass - the class of interface that defines a listener, ie interface TreeModelListener. Will usually be an interface
        @param methodName the name of teh method to pass the event to
        @param the even to be dispaced **/
        public static Method sendToListeners( Collection listeners ,
                                            Class listenerClass ,
                                            String methodName ,
                                            EventObject event  ) throws IllegalArgumentException
        {   Method m;
            try
            {   m = listenerClass.getMethod(methodName,
                                                   new Class[] {event.getClass()});
            }catch( NoSuchMethodException nsme )
            {   return null;
            sendToListeners( listeners ,  m ,  event );
            return m;
        public static void sendToListeners( Collection listeners ,
                                            final Method listenerMethod ,
                                            final EventObject event  )
                                                         throws IllegalArgumentException
            //test method belongs to a listener interface:
            if( !EventListener.class.isAssignableFrom( listenerMethod.getDeclaringClass() ) )
            {   throw new IllegalArgumentException( "not a method of an EventListener subinterface\n" +
                   "method's class is:" + ClassNames.getSuperclassReport( listenerMethod.getDeclaringClass() ) );
            if( !Modifier.isPublic( listenerMethod.getModifiers() ) )
            {   throw new IllegalArgumentException(
                   listenerMethod + " not public" );
            Iterator it = listeners.iterator();
            final Object[] args = new EventObject[]{ event };
            javax.swing.plaf.basic.BasicTreeUI tui;
            while ( it.hasNext() )
            {   final EventListener listener = (EventListener) it.next();
    //          put on teh event dispace thread, nach!
                SwingUtilities.invokeLater( new Runnable()
                {   public void run()
                        try
                        {   listenerMethod.invoke(listener, args);
                        catch (InvocationTargetException ite)
                        {   System.err.println(
                                  "exception thrown by Event helper whilst attempting to send..." +
                                  "\n event: " + event + "\n to: " +
                                  listenerMethod + "\n of: " + listener +
                                  "\n from:" + event.getSource());
                            System.err.println("\nexception was:\n");
                            ite.getCause().printStackTrace();
                            assert false: "problem! - would be passed over in final build";
                        catch (IllegalAccessException iae) //know method is public so this should never happen?
                        {   assert false ;
    }

    Yes! Sorry, I've been using this for ages and presumed I'd done doc for it!
    Ok, so it's a helper for firing events to listeners. The easiest way to use this is by just giving it the event, Collection of listeners and the method name you want to the event sent to. Tis works really well and is a lot easier than writing individual fireXXXevent methods.
    So, say I have a TreeModel and want to send out a node's removed event all I have to do is somthing like:
    EventHelper.sendToListeners( <listenerlist> ,
                                 TreeModelListener.class,
                                 "treeNodesRemoved",
                                 <the event> )or, if I want checking that the helper could find the method:
    if( EventHelper.sendToListeners( <listenerlist> ,
                                 TreeModelListener.class,
                                 "treeNodesRemoved",
                                 <the event> ) == null ) assert false : "couldn't find method";since sentToListeners returns the Method used.
    hop this helps.

  • HT1318 I have received this in my email. Thought I would share, to see if it's authentic

    I have received this in my email. Thought I would share, to see if it's authentic
    Hello,
    The following information for your Apple ID was updated on 01/27/2014:
    Shipping and/or billing address
    Credit card
    If these changes were made in error, or if you believe an unauthorized person accessed your account, please reset your account password immediately by going to iforgot.apple.com.
    To review and update your security settings, sign in to appleid.apple.com.
    This is an automated message. Please do not reply to this email. If you need additional help, visit Apple Support.
    Thanks,
    Apple Customer Support
    TM and copyright © 2014 Apple Inc. 1 Infinite Loop, MS 96-DM, Cupertino, CA 95014.
    All Rights Reserved / Keep Informed / Privacy Policy / My Apple ID
    <Email Edited By Host>

    You really should not post your email address on a public forum such as this unless you just love to get spam. I requested that the Hosts edit them for your protection.
    Allan

  • Thought I'd share some of the magic...

    I usually stay quiet about stuff on the forums about what kind of media I work with, I have to laugh when people mention camera/tape issues when I'm on the FCP/Compressor forums, but when I'm not playing production manager for a year round youth/church camp, I'm in my dungeon making machinima. Well, at least, I did.
    http://upload.praetoriaguard.com/clanartwork/PGlogointro-laserburncompressed.mov
    This is the average sort of thing I do in Shake using Motion Content and effects for the content genesis before I manipulate it to **** in Shake. (the heatwave effect is the Rising Vapors particle emitter from Motion 3 plugged into an iDisplace node)
    http://www.youtube.com/watch?v=OU_TkhdJl2Q
    This... is something I worked on for a year and we ran out of time. September 2007 rolled around along with Halo 3 and no-one cared about H2 machinima anymore. Sorry for the YouTube quality, don't have anything else up, but that beast has Shake's fingerprints all over it- lets just say keying digitally generated content imported live via DV is... interesting, so say the least. Also you may think filming in a video game is easy... you try working with trigger happy teenagers that kill the lead actor 'accidentally' every 2 minutes and.. there was no omniscient floaty cam in Halo 2. If there was an aerial pan, I had to balance on an alien jet fighter mid flight to do it. :P
    Many of the issues I had with Shake I overcame with the help of you guys- Patrick, Captain Mench, Inconceivable, Zebulun, thumbs up.
    Message was edited by: Eisen Feuer

    first of all, Crap- I marked this as a question. Oh well first to reply of the 4 mentioned gets the points
    The LaserBurn intro starts out with two attributes, I took the phoenix logo, clipped one of it's wings off, and added a warper so the wings sort of "unfolded" It wasn't too visible but it it visually superior to the logo simply scaling up. Also, the actual "laser" is LaserFlare 2 from the ProFlares macro pack available free from HighEnd3D. I added the glows on the phoenix during the laser using RBlur, and afterward just two blurred versions of the phoenix stacked on top of each other with Over. I staggered the glow by taking the source of the blur (the original logo) and putting it Inside the Clouds image generator form Motion 3.
    I put the ring in using this:
    Motion/Library/Content.localized/Template Media.localized/Fire.localized/Fire Burst.mov
    Which I aligned with the ring and used to cover the ring flashing it in.
    The PraetoriaGuard text is interesting, I took the caustic image generator from Motion, and animated a blur on the text, and plugged it into an Inside node so the blurring text was masking the caustics. I boosted the brightness so I'd get some bit tearing and I Compressed the grayscale image with a red-orange and it gave it that lovely molten steel look.
    Behind all that, there's these stock ashes which can be found here:
    Motion/Library/Content.localized/Template Media.localized/Fire.localized/Fire Ashes.mov
    I actually doubled the amount of ashes by taking the same feed, reversing it, and flipping it upside down alongside the normal video.
    Besides the initial separation of the phoenix from the ring, I drew no masks. I used all existing elements and stretched them to be masks, like the ashes are masked by a dialated and blurred version of the phoenix logo.
    In the end I just used a smoke particle emitter to rise as I increased the strength of the iDisplace node to simulate hot volcanic air taking over the logo. It took a lot of tweaking to get everything running in unison and to get it all looking right. I have another life as a metal sculptor where I get to play with fire and molten steel a lot, so having experience with what you're trying to emulate helps a lot on the art side of things.

  • Thought I would share: Ruby script to control USB dart launchers

    Been hacking away at this for a bit and I'm calling this good for now   This script controls USB dart launchers like this guy:
    0a81:0701 Chesen Electronics Corp. USB Missile Launcher
    At the moment, it's coded to only control the above, but add your idVendor, idProduct, and movement codes to the ActionData hash and it should pick right up and work.
    Requires the libusb and curses gems.  Codepad: http://codepad.org/v9h3ziYw
    Enjoy!
    #!/usr/bin/env ruby
    Version = '0.1'
    abort("Usage: #{__FILE__} idVendor:idProduct") if ARGV.empty?
    require 'curses'
    require 'libusb'
    # Add your own idVendor, idProduct, and movement codes here!
    ActionData = {
    :idVendor => 0x0a81,
    :idProduct => 0x0701
    } => {
    :up => 0x02,
    :down => 0x01,
    :left => 0x04,
    :right => 0x08,
    :fire => 0x10,
    :stop => 0x20,
    class RocketLauncher
    attr_accessor :device
    def move(symbol)
    @usb.control_transfer(
    :bmRequestType => 0x21,
    :bRequest => 0x09,
    :wValue => 0x0000,
    :wIndex => 0x0000,
    :dataOut => ActionData[{
    :idVendor => device[:idVendor],
    :idProduct => device[:idProduct]
    }][symbol].chr
    end
    def start
    begin
    @usb = LIBUSB::Context.new.devices(
    :idVendor => device[:idVendor],
    :idProduct => device[:idProduct]
    ).first.open.claim_interface(0)
    rescue LIBUSB::ERROR_ACCESS
    abort("No permission to access USB device!")
    rescue LIBUSB::ERROR_BUSY
    abort("The USB device is busy!")
    rescue NoMethodError
    abort("Could not find USB device!")
    end
    Curses.noecho
    Curses.init_screen
    Curses.stdscr.keypad(true)
    Curses.timeout = 150
    Curses.addstr("USB Rocket Launcher Controller v#{Version} by Maxwell Pray")
    loop do
    Curses.setpos(2,0)
    case Curses.getch
    when Curses::Key::UP, 'w', 'W'
    Curses.addstr("Movement: Up!")
    self.move(:up)
    when Curses::Key::DOWN, 's', 'S'
    Curses.addstr("Movement: Down!")
    self.move(:down)
    when Curses::Key::LEFT, 'a', 'A'
    Curses.addstr("Movement: Left!")
    self.move(:left)
    when Curses::Key::RIGHT, 'd', 'D'
    Curses.addstr("Movement: Right!")
    self.move(:right)
    when Curses::Key::ENTER, 10, ' '
    Curses.addstr("Movement: Fire!")
    self.move(:fire)
    when 27, 'q', 'Q'
    exit
    else
    Curses.addstr("Waiting for key...")
    self.move(:stop)
    end
    Curses.clrtoeol
    end
    end
    end
    launcher = RocketLauncher.new
    device = ARGV[0].split(':').map { |id| id.to_i(base=16) }
    launcher.device = {
    :idVendor => device[0],
    :idProduct => device[1]
    launcher.start

    problem fixed with method
    detach_kernel_driver
    thx ^^
    but now there is no FIRE action with enter Action is active, but:
    :fire  => 0x10
    does nothing.
    Where i can find any info about this? Maybe it must be another for my device?

  • I just got the iphone 4 and my husband already had on. we share an itunes account and i signed up for i cloud and now ALL  of my husbands contacts are on my phone ... so I started to delete them (because i thought it would just be off my phone) and he cal

    i just got the iphone 4 and my husband already had on. we share an itunes account and i signed up for i cloud and now ALL  of my husbands contacts are on my phone ... so I started to delete them (because i thought it would just be off my phone) and he called screaming ..." please stop deleting ...  they are coming off my phone!" so two things ...  how can i get the contacts back ( i got up to j) AND is there a way to get them off just my phone

    Unfortunately there's no way to get back the contacts you deleted unless he backed them up somewhere else.  He'll just have to recreate them.  This happened because you are both syncing contacts with a shared iCloud account.  When you do this, the synced data is merged and any actions you take on one phone (such as deleting contacts) is also reflected on the other.  To fix this you both need to have separate iCloud accounts (you can continue to share the same Apple ID for purchasing from the iTunes and app stores).  To do this, on your phone go to Settings>iCloud and turn all data that is syncing with iCloud (contacts, calendars, etc.) to Off.  When prompted choose to keep the data on the iPhone.  After everything is turned off, scroll to the bottom and tap Delete Account.  (This will only delete the account from this phone, not from iCloud.  The other phone will not be effected by this.)  Next, set up a new iCloud account on your phone using a different Apple ID and turn iCloud data syncing for contacts, etc. back to On.  When prompted, choose Merge.  This will upload your data to your new account.  At this point you will have two different iCloud accounts, one for each phone, with identical data on them.
    You will then have to go to icloud.com on your computer and sign into each iCloud account separately and manually delete the unwanted data (such as deleting the your husband's contacts from your account, and vice versa).  These changes will be reflected on each phone.  When finished you will have individual iCloud accounts with just your own data on them.

  • Am I able to keep a balance on my account for buying songs? I just bought 15 songs and I thought it would come off my credit card on file. But my card did not show a purchase. Could I still have some money left from agift card? How do I view my balance?

    Am I able to keep a balance on my account for buying songs? I just bought 15 songs and I thought it would come off my credit card on file. But my card did not show a purchase. Could I still have some money left from a gift card or a deposit
    ? How do I view my balance?

    Your balance should show to the left of account id at the top of the iTunes store page on your computer's iTunes. You can also check it by clicking on that id, or doing Store > View My Account, which should show your account balance and let you view your payment info

  • Is there a way to address email (i.e. a word or some code) that would place that email in a specified inbox folder?  not using internal rule, rather the beginning of this sort happening as it comes in?

    is there a way to address email (i.e. a word or some code) that would place that email in a specified inbox folder?  not using internal rule, rather the beginning of this sort happening as it comes in?
    In other words
    I tell a friend if he is emailing me on a particular subject, is there something he can do at his end ([email protected]/research)
    like adding the word research at the end of my eamil address that would tell my inbox to place that in the inbox/research folder?
    If I have to use a rule on my end, then do I tell him to just place the word research in the subjct line and then I write a rule to place anything with the word research in the subject line in my inbox/research folder?
    will the subject line be required to only have the one word research to work, or will the rule look for any presense of that word in the subject line?
    thanks
    eric

    iCloud email supports 'plus' addressing. http://en.wikipedia.org/wiki/Email_address#Address_tags
    So your friend could just add '+research' to the username part of your email address, and you setup a rule at icloud.com to put all emails sent to that address into a particular folder.
    For example:
    [email protected]
    There's no way to do it without rules on the server though.

  • I bought the Airport Extreme because I thought it would increase the range of the WiFi signal in my house. I have a DSL modem (also Wifi) and there are parts of the house that do not seem to have a strong Wifi signal.

    I bought the Airport Extreme because I thought it would increase the range of the WiFi signal in my house. I have a DSL modem (also Wifi) and there are parts of the house that do not seem to have a strong Wifi signal. The Airport Extreme does not seem to be increasing my Wifi signal strength? Any thoughts on what I could be doing wrong? I am able to connect to it, etc. Just thought the strength would be better.

    The broadcast power of all wireless routers and devices is limited by law.....and all manufacturers run their routers full blast.....so the relative signal strength of wireless routers from one manufacturer to another will tend to be remarkably similar.....despite the fancy advertising claims.
    You may want to consider adding another AirPort Extreme to "extend" the signal strength in your home. If you decide to do this, the "extending" Extreme would normally need to be located at a point that is approximately half the distance from your "main" AirPort Extreme and the general area that needs more wireless coverage.

  • Using Suri asking any localised question in the UK, it responds with 'cannot help' can only use US locations etc. and in US English. Have I missed something or set something up incorrectly? I also thought it would interface with your Facebook but it just

    Using Suri asking any localised question in the UK, it responds with 'cannot help' can only use US locations etc. and in US English. Have I missed something or set something up incorrectly? I also thought it would interface with your Facebook but it just comes back with a 'I can't help you with Facebook' message

    Yeah, Siri - a headline feature on the iPhone 4s page - is beta at the mo.
    But then anyone who's used Macs for a few years will know that most new software is pretty much still in beta when it's released anyway. Only Apple could get away with it and retain customers

  • I have an iPhone 4 and getting a iPod touch for my child, my question is whether to create separate account or have a shared account? I want to share some music and apps but not all and I also want her to be able to iMessage and face time with her owniPod

    I have an iPhone 4 and getting a iPod touch for my child, my question is whether to create separate account or have a shared account? I want to share some music and apps but not all and I also want her to be able to iMessage and face time with her own iPod and own account .   What's the best way to go?

    You can use one Apple ID for purchasing (App Store & iTunes Store) and shared with your child whereas your child uses a different Apple ID for Game Center, e-mail, FaceTime, iMessage. Even on iCloud there you'll get an extra 5GB free. 

  • My mac won't turn on again, it just shows the apple logo and some code

    My mac was freezing up a bit while trying to get onto lanaboards.com so I decided to restart it. I figured i might as well update it at the same time. So i did that and chose the restart option that comes up when you update. It seemed like the update went through, but then it told me that it couldn't update but i was asked if i wanted to restart it, so i did. For some reason it didn't restart for a couple of minutes so i turned it off by pressing the on/off button. When i turned it back on it made the sound and then the grey background with the Apple logo appeared. Suddenly this code comes up using the word "panic" a couple of times. I'm not gonna type the whole thing cause it's kina long. It also says "Mac OS version: not yet set" (maybe cause i tried to update?) and "Kernel version: David Kernel version 12.2.1" It also says "debugger called: <panic>"
    I won't be able to get it to the apple store for a week because everything closes down on thursday because of Easter and the buses seem to not go tomorrow and no one can drive me. I hope there's something i can do cause i have an important exam (100% of my grade) in two weeks so I'm freaking out a bit here. I also have some stuff due next week that just went up.
    I really hope someone can help me, or at least know what may be the problem.
    PS. I'm not 100% sure which operating system I have so i chose what i assume is the second newest iOS cause I know i have iOS at least
    PS 2: My hard disc crashed about two months ago and was fixed at my local apple supplier, if that may have anything to do with the matter.

    you are not in MacBook Pro forum, so might be harder to swap out and replace hard drive but  you should definitely have had them do that or even yourself.
    Make sure you are at least using TimeMachine AND another backup method to clone your system drive so you always have a working 'spare' backup drive you can boot and work from - USB3 is good, TimeMachine even works decently for some on USB 2.0
    Finding out why and troubleshooting a panic is a matter of trial and error after taking a look at what hardware, what software you installed (and some of which should be removed), even whether it is triggered by heat from processor or RAM (memory) errors, and memory errors can be triggered by software.
    Reset SMC
    http://support.apple.com/kb/HT3964
    Resetting NVRAM
    http://support.apple.com/kb/HT1379
    Safe Mac Guide
    http://www.reedcorner.net/mpg/
    About Mac OS X Kernel Panics:
    http://support.apple.com/kb/TS3742
    Resolving Kernal Panics
    http://www.thexlab.com/faqs/kernelpanics.html
    http://reviews.cnet.com/8301-13727_7-10344626-263.html
    http://macs.about.com/od/usingyourmac/qt/Troubleshooting-Os-X-Kernel-Panics.htm
    http://support.apple.com/kb/TS3742
    There’s trouble in my laptop paradise. I ended that with this caveat:
    It’s much more comfortable to type on the 2011 model, with one big exception: the 2011 model runs much hotter.
    I need more time to form a concrete opinion, but it seems so far that this CPU’s awesome performance definitely comes at a cost of increased heat and reduced battery life. For my intended usage as a desktop most of the time, that’s an acceptable tradeoff.
    This turned out to be worse than I thought it would be, and today, the last day of my return period, I decided to return it and exchange it for a slower model.
    The problem
    Not only does the 2011 15” MacBook Pro run much hotter than previous generations, but as a result, the fans very frequently kick up to full speed (6200 RPM), greatly annoying anyone in the area who’s not wearing headphones.
    I’ve done a lot of Google research and impromptu Twitter surveys, and this seems like a very common problem, exacerbated by a number of factors:
    The quad-core i7 CPUs in the 15” run very hot, with a TDP of 45W, 10W higher than the previous dual-cores. Many people speculate that the 15” case and fan design just isn’t designed for CPUs that need this much cooling regularly.
    The Core i7 CPU can use Intel’s Turbo Boost to dramatically overclock one CPU core to handle single-threaded loads whenever power and heat allow. It therefore hits its maximum TDP often when just one core is being maxed out, such as when Spotlight or Backblaze index new files, or when Time Machine is backing up.
    The 2.2 and 2.3 GHz 15” models come with an AMD Radeon HD 6750M GPU, which adds significant heat. Modern 15” MacBook Pros dynamically switch between the low-powered Intel integrated GPU and the high-powered (and hot) AMD GPU as needed by applications, but the AMD GPU will always be used when an external monitor is connected — the Intel integrated GPU cannot output video over the Thunderbolt port in the 15”. (Oddly, it can in the 13” MacBook Pro and both MacBook Airs.)
    It generates so much heat that it can’t be used in “clamshell mode” (closed, but with an external keyboard, mouse, and monitor attached), which has reduced airflow, without risking overheating, kernel panics, and possible long-term damage. I can’t see why Apple even enabled clamshell mode on it.
    Some people report issues with the battery draining while playing a game. The 15” MacBook Pro comes with an 85W power adapter, but when stressing the CPU and GPU (such as when playing a game), the laptop draws about 93W — I don’t know enough about the electronics here to say for sure, but an insufficient power adapter capacity sounds like a plausible reason why the battery might drain under high computational load. If so, this is an embarrassing oversight by Apple.
    The thermal paste seems to be very inconsistently applied, or there’s some other common manufacturing defect with the cooling system that varies per laptop. Many, many people reported having these issues and exchanging the laptop for a new one that shows far fewer issues. Many dedicated tinkerers have also reported success after reapplying the thermal compound between the CPU and heatsink, but that requires a very deep, warranty-voiding disassembly that I’m not comfortable doing. (I also haven’t owned thermal paste since 2001.)
      Put simply, it sounds like the 2011 15” MacBook Pro has a lot of manufacturing inconsistencies and defects that result in improper cooling. But it also sounds like Apple wedged far too much power draw and heat into an enclosure that’s not designed to properly cool or power these demands.  It’s not like Apple to release products like this.
    But if I can get one working within my tolerances, it’s still the perfect computer for me right now. So I’m trying.
    The attempted solution
    Tonight, after requesting the return on my 2.3, I ordered a new, slower model that’s likely to run cooler with less fan noise. It’s the base-model 15”, but with an antiglare (matte) display added:
    AMD Radeon HD 6490M: It’s manufactured on the same 40nm process as the 6750M, but has far less computational power, so I’m guessing this will result in much lower power consumption and heat.
    2.0 GHz quad-core i7: This is the only CPU available with the 6490M. While I don’t expect it to be dramatically cooler-running than the 2.3 since it’s specced with the same 45W TDP, it does have a lower clock and lower Turbo Boost speeds, so I can probably expect an approximately proportional heat reduction.
    So I’ll see what happens. I’m not sure what I’ll do if it doesn’t work out. This generation of 15” MacBook Pros has a lot of problems, and Apple really needs next year’s cooler-running Ivy Bridge processors as soon as possible.
    http://www.marco.org/2011/09/20/heat-and-fan-issues-with-2011-15-inch-macbook-pr o

  • Share some thougths guys

    ok lets share some thoughts...i've got ques here qouted from a book and would like to discuss what are the possible answers...lets discuss....
    1) what are the fundamental things you need to think about when you design a java class?
    2) what are the questions you need to ask yourself?
    3) if you could design a checklist to use when you're designing a class, what would be on the checklist?
    those questions above are taken from "Head First Java 2nd edition by Kathy sIerra & Bert Bates"
    Regards,

    ok lets share some thoughts...i've got ques here
    qouted from a book and would like to discuss what are
    the possible answers...lets discuss....discuss ... that is fine with me :)
    >
    1) what are the fundamental things you need to think
    about when you design a java class?Usually the first thing I do is ask myself "Why do I need this class". I am at the moment a developer and thus I think of what classess I need and code them ... WHICH IS TOTALY WRONG ... What I started doing right now it getting a peace of paper and think of the problem I want to solve. Then I Identify the bodys within that problem, check the properties that each of that body has, and I have my classes. Remeber you never have a single class, you have different classes that must work within one an other.
    2) what are the questions you need to ask yourself?What is the problem I am trying to solve?
    What are the main bodies within that problem?
    - Users,
    - Manager
    - Cook
    - Waiter ... etc
    - Kitchen
    - Suplies
    - etc.
    - etc.
    What properties does each body have?
    - Supply
    - Name
    - Manufecturer
    - Expiery date
    - Type
    - Description
    - etc
    3) if you could design a checklist to use when you're
    designing a class, what would be on the checklist?Wheather I have a peace of paper and a pencil to draw the UML design.
    those questions above are taken from "Head First Java
    2nd edition by Kathy sIerra & Bert Bates" Does she answer them?
    Regards,regards,
    sim085

  • I want to SHARE Sync Settings with my Family Members, How Can I Share Some of My Settings with Them.

    I want to SHARE Sync Settings with my Family Members & Friends, How Can I Share Some of My Settings like tabs, bookmarks, browser extension with them. Also it is obvious I would not like to share my Passwords. Can you please help. This feature "Sharing with Friends & Family Members" is functional in 'XMARKS Sync'.

    All apps are forever tied to the Apple ID used to originally obtain them. They cannot be transferred to another Apple ID, nor can they be updated using any ID other than the ID used to originally obtain them.

  • Sharing Music Help! 2 Users Accounts, 2 iTunes accounts, share SOME music??

    Hi - I'm new to Mac and iTunes all together (finally joined the cult... and love it!)
    Anyways, My ideal setup is to have 2 User Accounts and 2 Separate iTunes Accounts so my bf and I can buy our own music, obtain separate libraries, yet share SOME music. I want to see all of MY music in the Music Library when I log in, but I still want to be able to transfer some of his music to my phone's playlist and vice versa.
    Currently, our Itunes libraries are stored on each of our user profiles /users/name/music. When I log into iTunes, I see my music and [if his user account is logged on] I can see his under SHARED. But that doesn't allow me to transfer his music to my playlists and in the end, my phone.
    I read Apple's how-to on pointing each of our iTunes to Users/Shared and but then whenever I'm in iTunes it would just be a huge pool of both our music and I have to weed through all of his.
    Any suggestions on how we can both maintain our separate libraries/accounts but share some music (not just listen to each other's music).

    In the Finder. I should have said "In the Finder, create the folder /Users/Shared/Music".
    In case it wasn't clear, all of the instructions should be carried out in the Finder. iTunes should definitely not be running when you move your library and create the aliases.
    A few additional points:
    1. There's nothing significant about the folder location /Users/Shared/Music. You can substitute the name of any folder you want, provided all users will be able to read and write to it.
    2. Beware of having two or more users accessing your shared Music library *at the same time*. (Since you mentioned you want to share your music between two users on a single MacBook, I assumed only one user would access the library at a time.) This only becomes an issue if at some time in the future you share a library in this way between two computers over a networked drive. If two or more users are making simultaneous changes to the same iTunes library, they will stomp all over each other's changes, and very likely corrupt the library. Note that it's also possible to corrupt your music library if you both are simultaneously logged in on your MacBook via "Fast User Switching", and are both simultaneousy running iTunes and making changes to the library. So don't do that. (Not that you ever would.)

Maybe you are looking for

  • Is there a way of preventing music being played on the lock screen?

    My Sister keeps stealing my iPod to listen to music so my lock code is completely useless. I'd like to disable this feature so there is no incentive for her to steal my iPod. I'm using a iPod Touch 4th Gen

  • XP screen resolution

    Hi All, Currently running a brand new 17" MBP Unibody, duel boot with XP. I want to lower the resolution under XP to 1280 x 800 but it appears blurry and unclear (even after a restart)- it does this at any resolution other than the max res of 1920x12

  • [1.2.0.29.98] reports close when disconnecting their connection

    Hi, is there any reason to close open reports when i disconnect their connection? anita (win xp pro, java 1.5.11, ora 9.2)

  • Unwanted reloading Applet behavior

    I have a dynamic JTree component on an applet and as and when the user uses the application, nodes are added to or deleted from the JTree. But looks like the Applet behavior is to reload the applet everytime it is revisited or minimized/maximized, an

  • To access different lines in an in internal table

    Hi People, How can I access different lines of an internal table where there is not set index which I have to access? I have to write only the last occurence of each kunnr getting stored in the internal table. Can somebody help? Thanks, AM