A simple basic question.

Button b_showallcards = new Button ("Show all cards in deck")
Why is this correct without Button as the first word. And incorrect with?
I feel that I almost understand why. But if someone could enlighten me some further than I've laid another basic foundation stone of understanding.
Thanks in advance.

Hi there,
Button b_showallcards; //you declared the button
b_showallcards = new Button ("Show all cards in deck"); //you created the buttonor you can do the both at once:
Button b_showallcards = new Button ("Show all cards in deck");It applies to any variable/object declareation or creation. For example:
int i;
i = 5;the above is same as, int i = 5;I hope this information helps.
Berk Can Celebisoy

Similar Messages

  • Simple basic question on attribute data load for Master Data InfoObject....

    Hi
    I am a bit confused & wanted to have some clarification on the following:
    1) For loading Attributes data to Master Data InfoObject, we load it through Data Source of Type Master Data Attribute.
    But what i did, i created Data Source of type Transaction data and using the same Excel file, i was able to create transformation with Matser data Attribute and was able to load the data.
    This shows i can use Data source of type either master data attribute OR Transaction Data doen't matter while loading into master data attribute. IS THIS TRUE?
    2) I have 2 master data infoobjects (Test1 & Test2). I made Test2 as an attribute in Test1.
    My question is while loading Master data for Test1, will it also load the data into Test2 if it doen't find respective data in Test2?
    (i did all the transformation as per need.)
    Waiting for your reply....
    Thanks...

    HI Harpal,
    1. Did you make a transformation between attribute data source from source system other than flat file and DSO?...
    I think PC File is flexible in this aspect..
    2.While loading Test1 the infoobject Test2 will get loaded only if it is a navigational ttribute..(You can see this by refering the SID Table)
    Please also note that it does not load Test2 attributes.
    regards,
    Rakesh.

  • Simple basic question

    ok so im not at home to give you the specs on everything but i dont expect a real detailed answer. Basically i have a Airpot extreme at home hooked up to a PC upstairs . the internet is working on the pc upstiars. i see the network on my mac mini downstairs . when i click on it ,a menu pops up with a password field. Now my buddy was the one that sold me the airport. Is the password there asking for ,one that he created within Airport or is it something from the pc upstairs. If so how would i obtain to reset the password or create a network within airport..thanks

    You can reset the Base Station Administrator and erase the encrypted network passwords by performing a "factory default" reset on the AirPort Extreme.

  • Basic questions about Bigdata, NOSQL and Hadoop

    Hi,
    I've basic questions related to Bigdata. (I've googled it but still wants to confirm with experts)
    Please correct me if I am wrong on below.
    1) As far as I know big data is collection of unstructured data. Even we can store relational data as well.
    2) NOSQL is an Oracle product to handle bigdata (un structured data and relational data as well)
    3) Hadoop is the only one frame work which is avilable in market to manage the bigdata.
    What are the other database systems we have in the market to manage the bigdata.
    Cheers,
    Suri

    Hi Suri,
    1)  "Big Data" does not have a crystal clear, black and white definition. 
    It is generally characterized as being the processing and management of an amount and type of data that makes a specific workload on that data slow and/or expensive.
    Most commonly, Big Data involves processing and management of unstructured data of large volume and the typical technology used to store/process it is Hadoop, However, on occasion a NoSQL database will also deal with unstructured data.
    Big Data is also seen often in the form of simple, semi-structured data of both large volume and/or large velocity and the typical technology used to store/process it is a NoSQL database.  However, on occasion Hadoop will also deal with semi-structured data of large volume.
    In some cases, Big Data is seen in the form of highly connected data that will be manipulated by advanced algorithms that will need to touch a lot of the data and the typical technology used to store/process it is a Graph type of NoSQL database.
    2)  NoSQL is a category of database technologies most often dealing with the issues as outlined in bullet 2 above.   The Oracle NoSQL Database is oracle's product in the NoSQL category of database technologies.   It does NOT store relational data.   When using NoSQL relations between the data must be managed within the application code.
    3)  Hadoop and NoSQL booth manage Big Data, but different aspects as discussed in (1) above.   Hadoop is a batch based, slow processing data technology, but the "slow" is relative because it can process very large amounts of data, so minutes is commonly seen as fast.   NoSQL is a near real-time data processing technology and typically deals with Big Data where access times are in the single digit millisecond range.
    Hope this helps,
    -Robert

  • Possibly a very basic question but I have set up a spread sheet in Numbers and have viewed help videos but I can't get it to give me sums for the columns I highlight.  Keeps coming up with the figure zero.  I have version 09 2.3(554). Can anyone help

    Possibly a very basic question but I am going nowhere without a solution.  I have set up a spreadsheet in Numbers but it won't give me sums for chosen columns. I  have viewed the run through videos and used the formula but nothing happens apart from giving a figure of zero or a red arrow.  The sum icon in the bottom left hand section of the window does not highlight or show any total as I understand from the video that you can drag whatever total is here onto the relevent position on your spreadsheet.  I have Numbers 09 version 2.3 (554). Can anyone advise. Thanks.

    Hi Sohojools,
    To sum a column, use a formula such as this one in Cell A6
    Type this in a cell below your data:
    =SUM(A2:A4) or whatever range of cells you want to sum. The easy way is to type:
    =SUM(
    and then drag or shift-click to select the range of cells. Close the formula with a final bracket ")".
    The sum icon in the bottom left hand section of the window does not highlight or show any total
    To see the sum (and other simple statistics) in the bottom left, select a range of cells. That tells Numbers which cells you are refering to.
    The videos are good, but the Numbers'09 User guide, and the Formulas and Functions User Guide are better. Download them from the Help Menu in Numbers.
    Regards,
    Ian.

  • Basic questions about PCI-DIO-96

    Hi
    I am trying to write code to control a digital I/O board for the first time.
    I have a legacy board, PCI-DIO-96, as the code implies, it is a PCI digital I/O boiard with 96 I/O channels
    My first question is, what would be the drivers and development platform I should download for this board?
    I am planning to write my code in C++.
    The second question is, I am trying to write a very simple application to drive 96 solenoid valves through the board.
    Basically I need to use the board in output mode only.  No data gathering here.
    The application basically needs to open and close these valves  for a specified number of milliseconds.  So basically,
    I would be sending either 0 or 1 through the output channels, that's
    it.    If I send a "1" signal through the board, does
    that
    "toggle" the channel, meaning the channel will keep sending "1" through the ouput until I send another signal, or do I need
    to send the "1" signal every few milliseconds to simulate a constant "1" signal?
    Does anyone have code samples or know where I can find code samples illustrating this simple case?
    It would be greatly appreciated.
    I realize these are very basic questions, but I am new to hardware programming and I am on a deadline.
    Thank  you
    Kiko

    Hi Kiko,
    Great to see that you are asking questions here first, you definitely came to the right place.
    Since you are starting with a clean slate as far as knowing how to use this board we can start off on the right foot. 
    Download the latest version of the drivers for your board.  You can find the drivers here: NI-DAQmx Version 7.5 for Windows 2000/NT/XP
    After you have downloaded the drivers, power down the computer,
    insert your board, and power it back up.  The board should now be
    recognized and the drivers will install similarly to any new hardware
    would in Windows.
    Now it's just a matter of learning how to use the commands that you need to get started.
    I would recommend starting in the example files.  You can find
    some excellent examples that should do almost exactly what you are
    trying to do by looking in this path:
    C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Digital\Generate Values
    Look for the example that best represents what it is you are trying to
    do.  You will notice that all of the examples have a general flow
    to how they call the board.
    Create a Task and Define what that task is meant to do
    Set the configuration for how exactly that task will operate
    Read/Write various values until a condition is met
    Close the Task
    Error Check all operations to assure that everything is working properly
    It's really not all that difficult and should you run into any problems or errors don't forget to search ni.com or the forums to see if others have run into similar issues to what you are facing.
    Regarding how the states for digital lines work.  The short answer
    is that if you set a digital line to high it will stay high until you
    set it back to low and vice versa.  For more details on everything
    digital check out our Digital Fundamentals page.
    Best of luck!
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • Basic questions about JAAS capabilities

    I've never used JAAS for authentication or authorization in a Java app before. Can somebody that has (or at least has some experience and knowledge about JAAS) please answer the following couple of basic questions about it? (I know I could probably answer these myself with a few hours of reading.)
    1. Can I use JAAS to restrict the users that can execute specific methods of my code?
    2. If the answer to #1 is yes, is there a way to programmatically determine if a JAAS login user has the permissions to run a method before actually calling that method. In other words, can I ask something like canUserExecute(method) or do I have to just put the call to the method in a try/catch and catch a security exception of some type?
    3. Is it fairly simple to have JAAS authenticate against a Windows Domain or a LDAP server?
    4. Are there programmatic ways to add or edit user information in JAAS?
    Answer to any of these questions are greatly appreciated. I'll even toss a couple of Dukes to the people that answer each question. Thanks in advance.

    You might look at the AfterthoughtSoft-Secure product at http://www.advancedmodelingconcepts.com. It is designed to do just that and will easily allow you to connect to users/group repositories that are in anything from a simple text file all the way up to Kerberos V.
    You can contact the author of the product (me) at bart dot jenkins at gd-ais dot com.
    bart

  • Basic Questions on UITableView

    Hi, I'm trying to learn the iPhone API by creating a simple table application and I have some basic questions. There are stuff in the example code and the docs that seem to contradict, and I'm hoping some people can clarify.
    1) Table View Programming for iPhone OS, it says that UITableView must have a delegate and a source. I take it that in the example code (let's use TableCellSubivews) RootViewController is the source and TableViewCellSubviews is the delegate?
    2) If so, why does TableViewCellSubviews adopt the UIApplicationDelegate protocol and not UITableViewDelegate? In fact, I don't think any of the classes in the example code adopt UITableViewDelegate.
    3) In the UITableViewDelegate reference, it names didSelectRowAtIndexPath as a method. In the example code, why is in the didSelectRowAtIndexPath a method in the RootViewController, and not the delegate itself?
    Thanks for any explanations that anyone can give to help a noob!

    {quote}
    1) Table View Programming for iPhone OS, it says that UITableView must have a delegate and a source. I take it that in the example code (let's use TableCellSubivews) RootViewController is the source and TableViewCellSubviews is the delegate?
    {quote}
    There are 3 things that need to be done when setting up a tableview:
    1- the tableview controller itself, which determines how the tableview is set up, decides on the view, etc..
    2- the data source: the controller in 1) above needs to ask someone "give me the cell with the data for row #x. That's the job of the data source
    3- The delegate: some things for the table view need visible stuff such as the height of a row, whether a row should have a checkmark, etc... That's the job of the delegate.
    Now what often happens is that people do not specify a data source nor a delegate. What this means is that the controller performs all 3 jobs. Again, if the controller does not specify its delegate (or no class registers as its delegate), then the controller acts as its own delegate. (that answers your second question)
    {quote}
    3) In the UITableViewDelegate reference, it names didSelectRowAtIndexPath as a method. In the example code, why is in the didSelectRowAtIndexPath a method in the RootViewController, and not the delegate itself?
    {quote}
    That's a tricky question.
    The thing is that both the data source AND the delegate adopt a method called didSelectRowAtIndexPath. But they're for very different purposes. For the delegate, it's simply a notification by the controller that "hey, this row was selected, you may want to do something with it", i.e. change the color of the font, add a checkmark, etc...
    For the data source, it's much more important (and required!): the controller is saying "hey, someone requested row #x. Please give it to me!" This includes getting all the data and setting up the whole row, then returning it to the controller.
    Hope this helps clear things up.

  • Basic questions about Logic Pro

    Reading the topics and discussion groupes in this Logic Pro community is a tiny bit scary to me I admitt.
    Yet I will launch my basic question into the air, hoping to get an answer.
    I am a complete beginner in this field and only read something about this Logic Pro program a day ago.
    My question is simple: Is Logic Pro useful for people like me?
    I do not play an instrument, I have no editing and other skills mentioned in the forums, I never put a note on paper or computer before.
    I would only love to find a way to get some music out of my head. That's all.
    Should I take a course first and maybe then get the program? Or is this not what i am looking for?
    Thank you community!
    Eduard

    Your question is impossible to answer. Although... maybe you should just try Garageband first. It's free, and what you learn on it transfers to Logic (Garageband is now in fact Logic Lite).
    And making Dance music really is not that hard, here's a brilliant tutorial from a countryman of yours:
    http://www.youtube.com/watch?v=_N8vSo6gvGg

  • Assorted basic questions

    Hello,
    I have recently bought an iPhone, and after reading the User Guide I have many small basic questions. I'm using an iPhone 3GS together with Windows Vista. I wouldn't like to clog this forum with multiple topics about small things, hence everything being here:
    1) Is it possible to save .pdf files to the iPhone? I have limites web access, and I often use a few pdf files. I would rather use storage space for them than downloading them all the time (even with cache). If this isn't possible without external applications, which reliable application can save documents such as pdfs and docs to the iPhone?
    2) The iTunes Store is not available in my country for buying movies. Given how I'm using Windows, is there any way to transfer movies to my iPhone? Whenever I try dragging a movie to iTunes on my computer, nothing happens.
    3) In order to access my work's network from outside computers, we need to set our browsers with specific proxy configurations. Is it possible to set a proxy with Safari? Is there any way of doing that at all with the iPhone?
    4) I have began using iTunes in order to move my music to the iPhone, but iTunes and the iPhone automatically organize everything based on song title, while I have organized everything based on filename. Is it possible to make the iPhone and/or iTunes display and order songs by filename? I could manually rename everything, but with nearly 1000 songs...
    5) Is there a Find command on Safari, corresponding to control F on other browsers? When reading long pages, I miss being instantly able to locate a specific word.
    6) Is it possible to use the recorder built withon the iPhone to record a phone call? Is there any application capable of doing so?
    7) I have set my Gmail account to the e-mail function, but I have noticed that, unlike the Gmail website, the e-mail application doesn't keep conversations together (like what the iPhone does with messages, keeping a message and its replies together). Is there any of setting the Mail application to do that?
    Thank you.

    1. For your pdf and other files I recommend the application Files. Files light is free and has a 300mb limit I think. The paid version is limited by your free space on the phone. It views Excel, Word, PDF, JPG, music, and other files. The transfer is by wireless.
    2. Files might work with your movies, but they must be in a format the iPhone supports.
    Video formats supported: H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per second, Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; H.264 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Baseline Profile up to Level 3.0 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
    6. No, the recording of a phone call is not supported nativly by the iPhone.

  • MapViewer - A team of newbies and definitely basic questions...

    Dear All,
    We are a team of programmers who are very new to MapViewer. We are an experienced team of GIS programmers, however, we find difficulty in applying known functions to MapViewer. It's a great application, but a lot of unknowns.
    We have very basic questions, as well as advanced ones. I would like to summarize them as follows:
    1. How can I let the map to be zoomed into a specific feature?
    2. How can I execute a query to find a specific feature?
    3. How can I execute network analysis query to find the shortest path or paths between two or more nodes?
    4. How can I find out the nearest node to the location when user clicks on an arbitrary location on the map?
    5. How can I execute generic queries, without (this is important) need to send/receive XML queries?
    6. The bottomline is: we just want to use ready made functions to make it as easy as possible.
    Anyhelp is greatly appreciated. We are stuck with the basics of MapViewer (Oracle Maps).
    Please help us find the light :)
    Best regards.
    Desperate MapViewer Team!

    Here are some quick answers, hopefully they are not too late.
    1. You will construct a theme (mostly a dynamic one) that contains the specific feature, then call the theme's setBoundingTheme(true). Typically what we see people do is: a) create a dynamic theme with a query that selects a set of features; b) create a FOI layer based on the theme (MVThemeBasedFOI); c) call the setBoundingTheme(true) on the FOI layer. The end result, is that MapViewer will process your query and return the FOI data to the Oracle Maps JavaScript client, which will zoom the map to include the set of features in the FOI layer. Check out Oracle Maps tutorial #35 for an example.
    2. This is partly answered above. Basically you will construct a theme with a dynamic query string. You may want to check out tutorial #37 which finds out and displays the buffers around a set of points; the buffers are constructed via a SQL query at run time.
    3. This is not really a MapViewer question; rather, you may need to consult the Oracle Spatial routing engine XML API; the gist is you send the XML route request to the routing server, which returns a set of coordinates for your directions, which you can construct (MapViewer) FOI objects out of and display them on the map.
    4. I'm not sure our routing engine or network data model API has such a function ready for use; what you can do is if you can formulate the SQL query string (with the current location represented as a binding variable), then you can create a theme out of this query condition, and simply supply the location at run time to get the set of nodes.
    5. Can you please elaborate on what do you mean by generic queries? A simple usage scenario will help.
    6. We understand; there are quite a lot of things that can be made easier out of the box and we are working towards that. in the mean time, just ask questions if you have them; and always check out the Oracle maps tutorials first (actually reading the MapViewer primer article should be the absolute first step :) ).
    thanks
    LJ

  • Basic question reg. distributed installatio

    Hi everybody,
              i have a very basic question, for which i wasn`t able to find a simple
              answer/solution.
              I am planning to set up Bea in a distributed environment. the idea is
              to have a physical machine for the presentation, meaning
              webserver/jsp/servlets in the dmz1 and a machine with the application
              server holding ejbs in a different dmz.
              This results in an architecture where the presentation layer only can
              be contacted via http/https by the users and the logic layer
              communicates with the pres. layer via RMI/T3.
              Is there any documentation on such a setup ? any hints ?
              Thanks in advance, i'll keep on searching the dox.
              Berthold Krumeich
              

    [att1.html]
              

  • Mind answering some basic questions for a few bright HS students?

    I am a HS computer science teacher who seeks a professional mentor regarding JDBC. While I have successfully
    - installed a MySQL database,
    created, queried, updated the database,
    - read the Java Tutorial and:
    used Connect/J and written a main method to manipulate a
    database
    created very simple applets to query or update a database with
    their run methods.
    I have basic questions about how pieces fit together in web application development and how one can best take advantage of OOP when dealing with a database. My motivation are a few very bright post-AP students who have an excellent grasp of OOP and data structures; they are curious to see how Java is used in web applications.
    The sample code I have found on the Web has all been small main method examples. I would like to see and discuss a truly OOD application with JDBC, and to discuss how the pieces fit together.
    So, aware of our ignorance and of how dangerous a little knowledge can be, and not expecting to go live with an application anytime soon, we seek a very high level understanding of current professional practice (like: "Where does tomcat fit in here?") as well as some direction while we get our hands dirty. (I hope that makes sense.)
    If you have time to correspond with us via e-mail, answer some very basic questions, and perhaps take a look at some code as we work through it, we would love to hear from you off-line ([email protected]). We would also appreciate knowing where to look for a good OOD sample application. Thanks.

    Complete this tutorial and you will have a much better understanding.
    http://java.sun.com/javaee/5/docs/firstcup/doc/toc.html
    Also here is the tutorial for j2ee ( a little detailed but useful):
    http://java.sun.com/javaee/5/docs/tutorial/doc/

  • Basic question on Adobe document services

    Hi
       We have a ECC50 instance - the basis component of which has been given to us from our headquarters that has stripped off the J2EE server ( i.e given a WAS640 with just the ABAP runtime installed ).
    Now, we are planning to use Adobe Interactive forms - for simple applications - like our field sales able to create a sales order by entering data -offline and submitting it to our ECC50 box. 
    Now, question is - the ADS - that provides runtime services - does it need a J2EE server - or can I assume that this version of our ECC50 has ADS installed on the ABAP stack - and we still go ahead and plan using Adobe Interactive Services assuming that ADS ( PDF document object )would be available to our ABAP environment to process a PDF form that comes in from field sales ?
    Thanks in advance for answering this very basic question.

    Hello Karthik,
    the ADS only runs on the Java stack, so yes you will need to have SAP Web AS Java installed to deploy and run Interactive Forms.
    The functionality of ADS can then be accessed both from Java and ABAP applications.
    Cheers,
    Matthias

  • Neophyte Asking Basic Questions

    I must be thick - can't find answers to some really basic questions:
    1. To distribute Compressor tasks, is Qmaster and Compressor required on all participating Macs?
    2. Are they required to be exactly the same version across the participating Macs?
    3. Are they required to have unique serial numbers? (I tried to start Compressor on a second Mac that had been installed from FCS 5.1 Crossgrade package that resides on original Mac - all that was on the second Mac was Compressor and Qmaster - Qmaster didn't seem to mind, but Compressor gave me a warning message and terminated....)
    4. Assuming the above issues have been resolved as required, does Compressor have to be started on the "Services Only" Mac in order to assist in the processing?
    Again, my apologies for the level of these questions....
    Stan

    1. Yes, plus, if you're sending Compressor tasks from Final Cut Pro, all computers in the cluster are required to have Final Cut.
    2. It depends, but usually, yes, all versions need to be the same. Qmaster 2.0 and 2.1 are not compatible with each other. 2.0.1 and 2.0.2 would most likely work. together.
    3. I've always been working with Volume Licenses here, so I can't verify this, but as far as I know Final Cut Studio programs won't operate if an identical serial number is operating on the same network. As far as recieving tasks, I'm not sure serial number checking is done.
    4. The answer to this question can be found in the Distributed Processing Setup Manual (open Apple Qadministrator -> Help -> Distributed Processing Setup), but in a simple answer, no, a QuickCluster, Services and Controller, and Services only computer can all be configured into a cluster (I'm pretty sure).

Maybe you are looking for

  • BI : dialog instance does not start

    Hi all. --> Before explain you our problem, I'm going to tell you our scenario: We have an HP-UX cluster where we have installed BI system ABAP+JAVA stack (NW 701). We have got one central package with SAP and oracle in node1 and one dialog instance

  • Time Machine "inherit" after emergency downgrade to Mavericks

    (iMac;  3.6GHz Intel Core i5; 16GB 1333 MHz DDR3 memory) I was having many kernel panics after upgrading to Yosemite. After thorough hardware diagnostics (no hardware problems), the Genius Bar guy suggested downgrading to Mavericks 10.9.5, which he d

  • Print issue with type?

    Hi all, I wonder if you can help me here? I am getting an issue will illustrator CS3 when I send a document to print some of the text goes missing on the print out? This only seems to happen with white text? I have tried creating a new document and p

  • Identify Component usage name in .htm file

    Hi, How do we get the component usage name in .htm file. the normal way of getting via window controller is not possible since it is private method. It would be grateful if you can throw some lights on this. Thanks & Regards, Senthil.

  • Forefront Endpoint Protection for AV

    Hi everyone, Happy New Year! Since Microsoft will stop shipping Anti-Virus updates to the MS Security Essentials consumer product for XP when support ceases in April this year, does that mean our customers will no longer be receiving MS FEP anti-Viru