Working with JTextArea and things like that

I don't know if this is the right subforum for this.. if not, feel free to move it over to another subforum
Now i have this exercise.
I made a file for it , a list.data file. If i run the program, it gives the info in the list.data file in a whole new box.
So this is in the data file for example:
Toyota
Hilux
Volkswagen
Rabbit
Jeep
Wrangler
Than if i run the program, it opens a new window and then there is in it:
Toyota
Hilux
Volkswagen
Rabbit
Jeep
Wrangler
Now the assingment is to create a new car class with the relevant instance variables (just to store the property values i assume). And thereby i have to create relevant methods to access the instance variables. I also have to create a constructor that accepts initial values for the car instance variables.
The given program is working with two classes. Those are given, i don't need to understand their internal details, says the exercise
This is a whole new part of Java for me. Can someone give me an example or a hint or something like that?
Can i just make a new class with in it the car information
so like:
import java.util.*;
public class CarInformation {
    String[] brand = new String[5];
    String[] type  = new String[5];
    public void brands(){
        brand[0]   = "Toyota";
        brand[1]   = "Volkswagen";
        brand[2]   = "Jeep";
    public void types(){
        type[0]    = "Hilux";
        type[1]    = "Rabbit";
        type[2]    = "Wrangler";
    public CarInformation() {
}If this is right, how can i make the bigger program to read from my new CarInformation class? I think i'm in the dark..

newbeeinjava wrote:
Hmm, it is not my intention to get on your nerves..You aren't! Sorry if my post sounded that way.
My comments are inline:
import java.util.*;
public class Car{
    String Brand;
    String Type;
    String Car;    // this isn't needed. the brand and type are the only attributes of a car you need, right?
// setting the initial values of brand and type is done by the constructor, you don't need these
//    public void Brands(){
//        //reserved to store intital markings for Brand variable
//    public void Types(){
//        //reserved to store intital markings for Type variable
    // constructors have to have the same name as the class, not CarBrand, or CarType
/*    public void CarBrand(String Brand) {
        this.Brand = Brand;
// this is right
    public String getBrand() {
        return Brand;
/*    public void CarType(String Type) {
        this.Type  = Type;
// this is right
    public String getType() {
        return Type;
    // change this method name to Car so that it's a constructor. once that's done, it's correct
    public void CarSpecs(String Brand, String Type){  //this one if we can get both Brand and Type in with one method?
        this.Brand = Brand;
        this.Type  = Type;
// this works too, but you'll want to add a space between the brand and type
        public String getCarSpecs() {
        return Brand + Type;
    public static void main(String[] args) {
//        new Car().getCarSpecs();
          Car someCar = new Car("honda", "civic");    // create a new car with "honda" and "civic" as the brand and type
          String theSpecs = someCar.getCarSpecs();    // get the specs String from that car
          System.out.println(theSpecs);     // print those specs
}

Similar Messages

  • Im using a Macbook Pro, running a Mac OS 10.6.8, with 400GB  free of space and it is running slow. It takes 10 minutes to start up and things like that. What should I do?

    Im using a Macbook Pro, running a Mac OS 10.6.8, with 400GB  free of space and it is running slow. It takes more than 15 minutes to start up and things like that. I cant seem to do anything as it is so slow. The 'beachball of death' is also present during start up. What should I do? Please help

    Try these two steps first. 
    Get the Original Installation disk and boot the MBP holding down the C key.  When you get to the point where you see a menu bar on the top of the display, select UTILITIES.  From the drop down menu select DISK UTILITY>FIRST AID.  Run verify and repair.
    See if there is any improvement.
    Try a Safe Boot:
    http://support.apple.com/kb/HT1455
    This might indicate that third party applications are an issue.
    Ciao.

  • HT202274 Apple ID has my old email address. It will not allow me to change the address and will not accept my password or ID questions.   I recently upgraded to OSX Yosemite 10.10.1.  I also have an Apple ID that works with iTunes and would like to keep i

    Apple ID has my old email address. It will not allow me to change the address and will not accept my password or ID questions.   I recently upgraded to OSX Yosemite 10.10.1.  I also have an Apple ID that works with iTunes and would like to keep it as my primary.

    To change the iCloud ID on your devices you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted (if using iOS 7), then sign back in with your current ID.
    If you don't know the password for your old ID, or if it isn't accepted, you will have to temporarily recreate it in order to delete the existing account.  To do this, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • My iPhoto will not work with Yosemite, and it says that it was purchased under a different account, but that's not the case.  Any ideas why I cannot update iPhoto?

    my iPhoto will not work with Yosemite, and it says that it was purchased under a different account, but that's not the case.  Any ideas why I cannot update iPhoto?

    How did you buy iPhoto? Did it come preinstalled on your computer with Lion or later, or did it come with Snowleopard on system installer disks?
    Which version of iPhoto?
    If you have a version of iPhoto '11 and it is showing on the Purchased tab of the App Store, with your Apple ID, then delete iPhoto from the Applications folder  (don't empty the Trash) and download iPhoto again from the Purchased tab.
    If that does not work, contact The App Store Support  from the Quick Links on the AppStore main page.
    Only apple Support can fix problems with apple ID.

  • I try to delete the things I have typed in, like passwords and usernames and things like that. Before I got the new download, it always worked. Now it won't. Help?

    When I get on facebook, youtube, or yahoo, I type in my password and username. Other people get on this computer, and I don't want them to know my username or passwords. But when I clear the history, it doesn't clear it anymore. Before I had the new download it would always clear.

    See:
    * http://kb.mozillazine.org/Deleting_autocomplete_entries

  • Since I put Firefox as my webbrowser, I can't get google earth to work or windows media player when serching for album info and things like that and some other progams like these that acsses the internet it won't work. Can you help?

    It just has trouble when a program is trying to open the internet.

    It just has trouble when a program is trying to open the internet.

  • My ipod will not sync after i got my computer back it wnats me to erase every thing how do i sync and still have all my apps and things like that

    ive tried to sync my ipod touch 3gen but every time ive tryed it say i have to erase every thing to get my new songs how do i sync it with out having to do that

    You can re download past purchases after you restore the iPod.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • The calibration on my iPod screen is messed up, I've done all the obvious things like restarting, and restoring and things like that. Please could someone tell me how I could fix it?

    What can I do?

    If you restored to factory settings/new iPod and still have the problem that indicates a hardware problem.
    Make an appointment at the Genius Bar of an Apple store..
    Apple Retail Store - Genius Bar

  • Im from Colombia and I want to buy a  MacBook Pro, it comes with phothoshop and stuffs like that? or im gonna need to but it separately?

     

    You could use a Windows 7 Pro version (or better version) PC and test CS2 for free to see if it's enough for what you need.
    Also works  on older used Mac's running OS X 10.6
    https://www.adobe.com/downloads/cs2_downloads/index.html
    If it's right for you then by all means pull the trigger on the new MacBook Pro and buy CS6.

  • My macbook wont start the screen turn blue and stay like that for hrs. It only work when i use safe mode, i try to use disk utilities to fix it but the disk utilities keep saying error and a bunch of other stuff. I dont the cds the comp came with, help.

    my macbook wont start the screen turn blue and stay like that for hrs. It only work when i use safe mode, i try to use disk utilities to fix it but the disk utilities keep saying error and a bunch of other stuff. I dont the cds the comp came with, help. i've tried the command s command p command v but nothing i've tried to the safe mode then a quick restart but nothing
    disk utility give me this:
    Process:         Disk Utility [371]
    Path:            /Applications/Utilities/Disk Utility.app/Contents/MacOS/Disk Utility
    Identifier:      com.apple.DiskUtility
    Version:         11.5.2 (298.4)
    Build Info:      DiskUtility-2980400~60
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [86]
    Date/Time:       2013-11-05 03:29:41.247 -0500
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          9522 sec
    Crashes Since Last Report:           29
    Per-App Interval Since Last Report:  981 sec
    Per-App Crashes Since Last Report:   25
    Anonymous UUID:                      F6B8E263-76C8-4C7D-AA58-48134BF4BA78
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000020
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
    0   libobjc.A.dylib                         0x0000000100c62fbc _read_images + 312
    1   libobjc.A.dylib                         0x0000000100c79721 map_images_nolock + 1266
    2   libobjc.A.dylib                         0x0000000100c62761 map_images + 115
    3   dyld                                    0x00007fff5fc039c5 dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*)) + 853
    4   dyld                                    0x00007fff5fc0c849 ImageLoader::link(ImageLoader::LinkContext const&, bool, bool, ImageLoader::RPathChain const&) + 201
    5   dyld                                    0x00007fff5fc04d54 dyld::link(ImageLoader*, bool, ImageLoader::RPathChain const&) + 118
    6   dyld                                    0x00007fff5fc08f7c dlopen + 490
    7   libSystem.B.dylib                       0x0000000100a14e40 dlopen + 61
    8   com.apple.CoreFoundation                0x0000000100d78ef7 _CFBundleDlfcnLoadBundle + 231
    9   com.apple.CoreFoundation                0x0000000100d77e97 _CFBundleLoadExecutableAndReturnError + 1191
    10  com.apple.Foundation                    0x0000000101008355 _NSBundleLoadCode + 638
    11  com.apple.Foundation                    0x0000000101007c78 -[NSBundle loadAndReturnError:] + 742
    12  com.apple.Foundation                    0x000000010101960c -[NSBundle principalClass] + 38
    13  com.apple.framework.DUSupport           0x0000000100082080 -[DUModuleManager(_private) findDUModules:] + 405
    14  com.apple.framework.DUSupport           0x0000000100081ed9 -[DUModuleManager orderedModuleListOfModules] + 40
    15  com.apple.DiskUtility                   0x0000000100006082 0x100000000 + 24706
    16  com.apple.DiskUtility                   0x0000000100005f59 0x100000000 + 24409
    17  com.apple.AppKit                        0x0000000101444625 -[NSWindowController _windowDidLoad] + 538
    18  com.apple.AppKit                        0x00000001013e1f77 -[NSWindowController window] + 112
    19  com.apple.AppKit                        0x00000001015f61d9 -[NSWindowController showWindow:] + 47
    20  com.apple.AppKit                        0x00000001015c7c5c -[NSDocument showWindows] + 98
    21  com.apple.AppKit                        0x00000001015c64bb -[NSDocumentController openUntitledDocumentAndDisplay:error:] + 340
    22  com.apple.AppKit                        0x00000001014f7b44 -[NSDocumentController(NSInternal) _openUntitled] + 111
    23  com.apple.AppKit                        0x00000001014f79ab -[NSApplication _doOpenUntitled] + 257
    24  com.apple.AppKit                        0x00000001014f733b -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 185
    25  com.apple.AppKit                        0x00000001014f6fd9 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 77
    26  com.apple.Foundation                    0x0000000100ffd0d6 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 360
    27  com.apple.Foundation                    0x0000000100ffcf06 _NSAppleEventManagerGenericHandler + 114
    28  com.apple.AE                            0x0000000104d7332b aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 162
    29  com.apple.AE                            0x0000000104d73224 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 32
    30  com.apple.AE                            0x0000000104d7312b aeProcessAppleEvent + 210
    31  com.apple.HIToolbox                     0x00000001028a0619 AEProcessAppleEvent + 48
    32  com.apple.AppKit                        0x00000001013fc095 _DPSNextEvent + 1191
    33  com.apple.AppKit                        0x00000001013fb801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    34  com.apple.AppKit                        0x00000001013c168f -[NSApplication run] + 395
    35  com.apple.AppKit                        0x00000001013ba3b0 NSApplicationMain + 364
    36  com.apple.DiskUtility                   0x0000000100002009 0x100000000 + 8201
    37  com.apple.DiskUtility                   0x0000000100001db8 0x100000000 + 7608
    Thread 1:  Dispatch queue: com.apple.libdispatch-manager
    0   libSystem.B.dylib                       0x0000000100a27c0a kevent + 10
    1   libSystem.B.dylib                       0x0000000100a29add _dispatch_mgr_invoke + 154
    2   libSystem.B.dylib                       0x0000000100a297b4 _dispatch_queue_invoke + 185
    3   libSystem.B.dylib                       0x0000000100a292de _dispatch_worker_thread2 + 252
    4   libSystem.B.dylib                       0x0000000100a28c08 _pthread_wqthread + 353
    5   libSystem.B.dylib                       0x0000000100a28aa5 start_wqthread + 13
    AND MORE TOO MUCH TO COPY N PASTE HELP PLEASE!!!!!

    Reset the PRAM
    Reinstall the operating system from the dvd (you will not loose your data)

  • IMac G5 (iSight) with 10.4.11:  Screen always dimmed. Starts at full bright and a second later dimms and stays like that forever.  Brightness controls work normally under this circunstance.  Please help !!!

    iMac G5 (iSight) with 10.4.11:  Screen always dimmed. Starts at full bright and a second later dimms and stays like that forever.  Brightness controls work normally under this circunstance.  Please help !!!
    Please don't tell me to adjust anything on the preferences, since I have tried all.  I think it may be anoter kind of problem, maybe hardware related or anything.
    I ran the Hardware repair DVD and everything was ok, but when the imac restarted the screen was very lit again, but when it went sleep, when it went awake again the screen got dimmed again.  Because of that I think that the problem could be software related, but who knows.  Excuse my english.

    I can't see another possible answer - the longer your machine is up, the more the power supply is stressed, it protects itself by dimming the screen to lower the draw on it.

  • When I play music and get on YouTube and stuff like that my sound is not working what is going on with my iPhone 4s

    When I play my music and use YouTube and stuff like that my sound is not working what is going on with my iPhone 4s

    Hi Jillianfromny!
    I have an article here that seems to describe your issue, and can provide some troubleshooting steps for you to follow that will help you resolve this issue:
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/TS1630
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • Last night I did an update and now when I turn on my macbook it just goes to the white screen with the apple and stays like that.

    Last night I did an update and now when I turn on my macbook it just goes to the white screen with the apple and stays like that. How do I fix this issue?

    Take each of these steps that you haven't already tried. Stop when the problem is resolved.
    To restart an unresponsive computer, press and hold the power button for a few seconds until the power shuts off, then release, wait a few more seconds, and press it again briefly.
    Step 1
    The first step in dealing with a startup failure is to secure the data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since the last backup, you can skip this step.
    There are several ways to back up a Mac that is unable to start. You need an external hard drive to hold the backup data.
    a. Start up from the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.” The article refers to starting up from a DVD, but the procedure in Recovery mode is the same. You don't need a DVD if you're running OS X 10.7 or later.
    b. If Step 1a fails because of disk errors, and no other Mac is available, then you may be able to salvage some of your files by copying them in the Finder. If you already have an external drive with OS X installed, start up from it. Otherwise, if you have Internet access, follow the instructions on this page to prepare the external drive and install OS X on it. You'll use the Recovery installer, rather than downloading it from the App Store.
    c. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, start the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    d. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    If the startup process stops at a blank gray screen with no Apple logo or spinning "daisy wheel," then the startup volume may be full. If you had previously seen warnings of low disk space, this is almost certainly the case. You might be able to start up in safe mode even though you can't start up normally. Otherwise, start up from an external drive, or else use the technique in Step 1b, 1c, or 1d to mount the internal drive and delete some files. According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation.
    Step 3
    Sometimes a startup failure can be resolved by resetting the NVRAM.
    Step 4
    If a desktop Mac hangs at a plain gray screen with a movable cursor, the keyboard may not be recognized. Press and hold the button on the side of an Apple wireless keyboard to make it discoverable. If need be, replace or recharge the batteries. If you're using a USB keyboard connected to a hub, connect it to a built-in port.
    Step 5
    If there's a built-in optical drive, a disc may be stuck in it. Follow these instructions to eject it.
    Step 6
    Press and hold the power button until the power shuts off. Disconnect all wired peripherals except those needed to start up, and remove all aftermarket expansion cards. Use a different keyboard and/or mouse, if those devices are wired. If you can start up now, one of the devices you disconnected, or a combination of them, is causing the problem. Finding out which one is a process of elimination.
    Step 7
    If you've started from an external storage device, make sure that the internal startup volume is selected in the Startup Disk pane of System Preferences.
    Start up in safe mode. Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to start and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know the login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    When you start up in safe mode, it's normal to see a dark gray progress bar on a light gray background. If the progress bar gets stuck for more than a few minutes, or if the system shuts down automatically while the progress bar is displayed, the startup volume is corrupt and the drive is probably malfunctioning. In that case, go to Step 11. If you ever have another problem with the drive, replace it immediately.
    If you can start and log in in safe mode, empty the Trash, and then open the Finder Info window on the startup volume ("Macintosh HD," unless you gave it a different name.) Check that you have at least 9 GB of available space, as shown in the window. If you don't, copy as many files as necessary to another volume (not another folder on the same volume) and delete the originals. Deletion isn't complete until you empty the Trash again. Do this until the available space is more than 9 GB. Then restart as usual (i.e., not in safe mode.)
    If the startup process hangs again, the problem is likely caused by a third-party system modification that you installed. Post for further instructions.
    Step 8
    Launch Disk Utility in Recovery mode (see Step 1.) Select the startup volume, then run Repair Disk. If any problems are found, repeat until clear. If Disk Utility reports that the volume can't be repaired, the drive has malfunctioned and should be replaced. You might choose to tolerate one such malfunction in the life of the drive. In that case, erase the volume and restore from a backup. If the same thing ever happens again, replace the drive immediately.
    This is one of the rare situations in which you should also run Repair Permissions, ignoring the false warnings it may produce. Look for the line "Permissions repair complete" at the end of the output. Then restart as usual.
    Step 9
    If the startup device is an aftermarket SSD, it may need a firmware update and/or a forced "garbage collection." Instructions for doing this with a Crucial-branded SSD were posted here. Some of those instructions may apply to other brands of SSD, but you should check with the vendor's tech support.  
    Step 10
    Reinstall the OS. If the Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade.
    Step 11
    Do as in Step 9, but this time erase the startup volume in Disk Utility before installing. The system should automatically restart into the Setup Assistant. Follow the prompts to transfer the data from a Time Machine or other backup.
    Step 12
    This step applies only to models that have a logic-board ("PRAM") battery: all Mac Pro's and some others (not current models.) Both desktop and portable Macs used to have such a battery. The logic-board battery, if there is one, is separate from the main battery of a portable. A dead logic-board battery can cause a startup failure. Typically the failure will be preceded by loss of the settings for the startup disk and system clock. See the user manual for replacement instructions. You may have to take the machine to a service provider to have the battery replaced.
    Step 13
    If you get this far, you're probably dealing with a hardware fault. Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.

  • I updated my iphone 5 and now it is telling me to be able to work i had to connect it to itunes and itunes it telling me that i have to restore my iphone.  what can i do? i dont want to lose all my pictures and stuff like that.

    I updated my iphone 5 and now it is telling me to be able to work i had to connect it to itunes and itunes it telling me that i have to restore my iphone.  what can i do? i dont want to lose all my pictures and stuff like that.

    Something went wrong with the update, this can and does happen with every version of iOS.
    There is nothing wrong with the update.
    Simply restore the device via iTunes on the computer.
    If iTunes is stating it will take hours to update, that indicates an extremely slow Internet connection and is likely the reason the OTA update failed.

  • I like the idea of auto back-up for my new iMac, Ipad and PC Netbook, particularly if I can access all files and data stored on any device.  But I have a Conceptronic router.  Will Time Capsule work with this and how?

    I like the idea of auto back-up for my new iMac, Ipad and PC Netbook, particularly if I can access all files and data stored on any device.  But I have a Conceptronic router.
    1. Will Time Capsule work with this and how?
    2. Can my printer USB be plugged in and then shared between the devices?
    3. Can I create a network and how?
    4.  What happend when a visitor logs onto my existing wireless router?
    I'm new to Macs (well a returning user having started with Mac Plus!!) and not very technical.  Any help / advice will be much appreciated.
    Ray

    The key to what you seem to want to do is to be able to get Apple's Time Capsule router to "join" the network that your Conceptronic router.  I believe that works with some third-party routers, but I've never seen a list of those that work in such a configuration and I have no experience with Conceptronic equipment.
    You might be better off with a Network-Attached Storage (NAS) device instead of a Time Capsule.

Maybe you are looking for

  • Rendering bugs on xf86-video-ati on GNOME Shell

    Hi guys. I have a problem with graphics rendering on Arch i686 installed on a bootable USB stick. To handle multiple devices I did pacman -S xorg-drivers. Unfortunately when I log in to GDM/GNOME shell the screen is full of artifacts - several icons

  • How do I move an album, from iCloud to a burn folder

    Opened my iTunes and all of my songs have the cloud icon, next to them.  I wish to burn them to multiple cds, but cannot figure out how to put them into a burn folder.  Nothing happens when I click on the download cloud button.

  • Java 6, 10 produces a bug with overlapping images

    Hi, I have a program which draws an image ontop of another image, using 6, 06 and 6, 07 it seems to work OK using 6, 10 it doesn't. I am not sure which version it stops working in though. In 6, 06 and 6, 07 the image flashes but in 6, 10 it flashes f

  • Problems with ActiveX Callbacks in LabVIEW 7

    Have encountered an interesting problem with ActiveX "Reg Event Callback" in LV7 (WinXP): In a nutshell, when a lot of events fire in rapid succession, the user-interface locks up. The events still fire, and the front panel controls update, but the f

  • Using conditional formating on member columns in essbase hirarchy in obiee

    Hi All, I ws analysing an existing sample PnL report in obiee 11g. Wht I found that there is conditional formating used on 'Balance' member column based on one of the member column (net income) from 'income statement' hirarchy of essbase cube. I trie