Oracle newbie : where to start?

Hi all
Im based in East London, UK.
My background is Medical I.T
I have been working in 1st\2nd line technical support
for abt 2 yrs and would like to move into a unsaturated
part of I.T like oracle databases.
The cost of Oracle courses are so expensive so i will
probably be teaching myself it by installing the
system on my windows XP.
Now in order to get into oracle work... which is the
best way? to learn oracle 9i will take ages.
can i get into it by getting the Oracle OPERATOR
certification..getting a job and then take it from there.
pls advise,
Jasmine Khan

don't know how the job market is in england, but in the us where i live, an OCA probably would not help much....things are pretty depressed here right now.
I teach Oracle 9i classes at the local Community College and tell my students the same thing. An OCP MIGHT help get you in the door for an interview.
9i is not that much more difficult than was/is 8i. There is one less test. For 7, 8 and 9i you took 5 tests. For 9i there is only 4. The first one is now just pure SQL (no PL/SQL) The DBA FUNDS II is now the combination of what used to be Networking and Backup and Recovery.
Go on line to book sellers and look for the exam crams for 9i and if you study them and really remember most of what is in there, you should do OK.
email me at [email protected] and I may be able to help a little further

Similar Messages

  • Where to start in Oracle Apps R12

    Hi
    I am completely new in Oracle Apps. I have lot of experience in Microsoft technologies (SQL Server, .Net) but never worked in Oracle Apps before. Now trying to learn it.
    I installed Oracle Apps R12 on a virtual linux machine for learning. I selected "empty database" at the time of installation (i.e. not Vision installation) and logged in as sysadmin. But now I don't know where to start. Let's say I want to use the Financials module to enter some fake data and then create a report. Where do I start? I searched in Google but looks like none of the "beginner's tutorial" have that info.
    Can someone help me or direct me to some tutorial/documentation which will help me to start?
    Thanks for your help.
    -Mike

    976849 wrote:
    Hi
    I am completely new in Oracle Apps. I have lot of experience in Microsoft technologies (SQL Server, .Net) but never worked in Oracle Apps before. Now trying to learn it.
    I installed Oracle Apps R12 on a virtual linux machine for learning. I selected "empty database" at the time of installation (i.e. not Vision installation) and logged in as sysadmin. But now I don't know where to start. Let's say I want to use the Financials module to enter some fake data and then create a report. Where do I start? I searched in Google but looks like none of the "beginner's tutorial" have that info.
    Can someone help me or direct me to some tutorial/documentation which will help me to start?
    Thanks for your help.
    -MikeR12 Docs
    http://docs.oracle.com/cd/E18727_01/index.htm
    11i and R12 Docs
    http://www.oracle.com/technetwork/documentation/applications-167706.html
    If you select vision (demo) database then you should have setup/data.
    Thanks,
    Hussein

  • Newbie, Where do I Start?

    HI all, I want to start to develop java applications, but I don't know where to start, I work with Oracle(Developer 2000), so I have programming experience.
    Thanks
    Leo

    Thanks for your comments, what if I CAN'T take a class?Don't worry, you don't need to but it does help getting things rolling (group support and so on). I, for instance, didn't go to any course but it did take a while to figure out how the jdk was properly installed (all the setting of environment variables and stuff - I had never done that before). But if you face problems you can always post to these forums...
    The java tutorial is a fairly good course. The docs & training page is worth checking: http://developer.java.sun.com/developer/infodocs/

  • I want to learn Oracle VM: where should I start from ?

    Hi all,
    I am an Oracle dba ( OCP ) interested in learning how to setup and manage Oracle VM.
    I'm looking for advices about where to start from : I didn't find any book about Oracle VM in the Oracle Press catalogue and I'm not going to start my learning path with a LVC .
    I'd prefer to start with a reliable book and some tutorials to have a first glance at it, so any suggestion would be appreciated
    Thanks,
    Andrea

    There a couple of youtube videos work a look ....
    http://www.youtube.com/watch?v=BzhVhGhIuxY ... and ohers.
    And dont forget the obious ... the oracle on-line documentation itself ...
    From http://docs.oracle.com driling down to http://download.oracle.com/docs/cd/E15458_01/index.htm ( for for 2.2 )
    http://www.oracle.com/us/technologies/virtualization/index.html
    http://www.oracle.com/us/technologies/virtualization/oraclevm/index.html
    You may also need to get yourself some kit for a lab to practice on .... some processors and motherboards will do better than others ... more ram and disk is good!

  • From where to start android programming ?

    the question pretty much explains it. i have almost completed java programming. i have completed half of java essential classes from oracle java tutorials but what i mean is which ide should i download and from where should i learn it. for java programming i have been using netbeans and i think it also supports android programming. any suggestions would be appreciated.

    I would start from here: https://developer.android.com/training/index.html
    This is where I started 2-3 years ago, when Eclipse was the preferred (only?) IDE.
    I have no idea if they still base the tutorials on Eclipse only, but if it is so, I would not mind learning another IDE for the sake of learning Android programming.
    Advice: do not get too deep into Java GUI programming, because Android does not use AWT/Swing. Most of the rest of your Java background will be very useful.

  • Berkeley DB with SQL API: Where to start?

    Hi,
    I am an Oracle DBA and just starting to look at Berkeley DB for a new project at work. I intend to use the SQL API, so I have downloaded and installed Berkeley 11g R2 (using the windows msi).
    However, I have been browsing around the documentation for 2 days now but still don't understand how to actually create a database! Is this not possible with the SQL API? Do I have to do it from "somewhere else" and just use the API to access the data?
    The strange thing is, if I open the API (dbsql) I can create a table:
    dbsql> create table test_tab(x int) ;
    dbsql> .tables
    test_tab
    dbsql> exitBut I have no idea where that table is actually created and stored? I don't see a file on disk (a "database" is a file, right?). If I open dbsql again, the table is not shown.
    Sorry for the dumb questions but I'm really an old relational-DB guy struggling to come to terms with this architecturally and functionally different idea of a database. Hope someone can help, or at least point me to a "Berkeley DB using SQL API for complete and utter dummies" type guide.
    Regards,
    El DBA

    Hi Sandra,
    Thanks very much for the information. I have been looking through the documentation and starting to get to grips with this now.
    We do have one important issue though, which comes from within the FAQ you mentioned. I see it's also been talked about in this thread:
    ado.net provider
    In the FAQ, it says:
    Does Berkeley DB support ADO.NET?
    There are some known issues related to using the public domain SQLite ADO.NET provider with Berkeley DB. We are actively working on clearly defining those issues, and hopefully resolving them. Is there any idea of a date for the ado.net support? In our development, we are using that very same provider, which is the same one as mentioned in that thread (it's system.data.sqlite.dll from http://sqlite.phxsoftware.com) but will not be able to commit to developing with Berkeley until the support is offered.
    Kind regards,
    Adam
    Edited by: El DBA on Jul 29, 2010 1:13 PM
    Edited by: El DBA on Jul 29, 2010 1:16 PM

  • ORACLE WORKFLOW NOTIFICATION MAILER START 방법

    제품 : MFG_IP
    작성날짜 : 2003-04-22
    ORACLE WORKFLOW NOTIFICATION MAILER START 방법
    ============================================
    PURPOSE
    Notification Mailer를 background에서 running 시키고,unix account의 logging out 후에도 지속적으로 running 시킬뿐 아니라 standard output 및 error message를 각각 저장할 수 있게 workflow unix user로 workflow mailer를 start 할 수 있다.
    Explanation
    nohup $ORACLE_HOME/bin/wfmail.snd -f <config_file>
    1>mailer.log 2>mailer_err.log &
    where <config_file> is $ORACLE_HOME/wf/res/wfmail.cfg
    Alternatively, you can do the following to start the Notification Mailer without specifying the CONNECT parameter & value in the above step: Create Mailer Configuration file as the password parameter in the $ORACLE_HOME/wf/res/wfmail.cfg file is in clear text and poses a security problem.
    nohup $ORACLE_HOME/bin/wfmail.snd -f $ORACLE_HOME/wf/res/wfmail.cfg owf_mgr/password@connect_string 1>mailer.log 2>mailer_err.log &
    (Please note that even this method of running the Oracle Workflow Notification Mailer is not entirely secure in the sense that if anybody who has access to the middle-tier can always do a “/usr/ucb/ps -auxwww | grep wfmail.snd” and get the CONNECT information).
    Example
    Nohup $FND_TOP/bin/WFMAIL apps/apps@ 0 Y -f $FND_TOP/resource/ wfmail.cfg
    1> $APPL_TOP/$APPLLOG/startwfmailer.log
    2> $APPL_TOP/$APPLLOG/startwfmailer.log&
    Reference Documents
    -------------------

    제품 : MFG_IP
    작성날짜 : 2003-04-22
    ORACLE WORKFLOW NOTIFICATION MAILER START 방법
    ============================================
    PURPOSE
    Notification Mailer를 background에서 running 시키고,unix account의 logging out 후에도 지속적으로 running 시킬뿐 아니라 standard output 및 error message를 각각 저장할 수 있게 workflow unix user로 workflow mailer를 start 할 수 있다.
    Explanation
    nohup $ORACLE_HOME/bin/wfmail.snd -f <config_file>
    1>mailer.log 2>mailer_err.log &
    where <config_file> is $ORACLE_HOME/wf/res/wfmail.cfg
    Alternatively, you can do the following to start the Notification Mailer without specifying the CONNECT parameter & value in the above step: Create Mailer Configuration file as the password parameter in the $ORACLE_HOME/wf/res/wfmail.cfg file is in clear text and poses a security problem.
    nohup $ORACLE_HOME/bin/wfmail.snd -f $ORACLE_HOME/wf/res/wfmail.cfg owf_mgr/password@connect_string 1>mailer.log 2>mailer_err.log &
    (Please note that even this method of running the Oracle Workflow Notification Mailer is not entirely secure in the sense that if anybody who has access to the middle-tier can always do a “/usr/ucb/ps -auxwww | grep wfmail.snd” and get the CONNECT information).
    Example
    Nohup $FND_TOP/bin/WFMAIL apps/apps@ 0 Y -f $FND_TOP/resource/ wfmail.cfg
    1> $APPL_TOP/$APPLLOG/startwfmailer.log
    2> $APPL_TOP/$APPLLOG/startwfmailer.log&
    Reference Documents
    -------------------

  • Where to start? CF version? Book etc..

    Hey guys,
    I have done some work with Coldfusion, Oracle and IIS in past. At the time it was version 4.5 and now it's all changed. I got a large e-commerce project to work on. I want to use coldfusion for this and wanted to ask few questions.
    1. Which version of coldfusion, Oracle and web server to start with?
    2. Which book is the best at the moment? (I got coldfusion complete reference but it's 4.5!!)
    I will be good with installation and setting up database just need to know where to start.
    Thanks guys,
    Amit.

    kmria wrote:
    The project I am been asked to start is a e-commerce website where they want to sell Invitation cards. So a different level of login, manual discount codes, reference discount and the whole payment system are the main contact of the site. When we were using 4.5 version this was dead easy and I am sure it is still the case (one of the reason I am choosing CF is because how easy it is to use).
    Now when I want to buy CF I am confused, because there are developer, enterprise etc different versions. How are they different and which one is best for the above project? I think my boss have "Adobe ColdFusion Enterprise Edition 9" and he can give me that for free so will that do the job?
    Sorry If I sound right idiot but for past 7-8 years I have stopped programming and doing just designing so I have lost touch with this field. I really appreciate your help.
    My suggestions:
    Technology choice: ColdFusion is especially suitable for small to medium-sized e-commerce web sites.
    CF Server choice: ColdFusion 9 (any edition) + updates and hot fixes. CF 9 will be just as easy for you to use as when you last used CF 4.5!
    Book/Study material: Ideally, Adobe's ColdFusion documentation on the web. It's the source, it's got everything and it's free.
    Have questions? Need help?: Come to this forum.

  • Where to start

    Hi,
    A school project requires me to create a web-app and mobile app that can achieve two things. The user can navigate to a webpage and request a login; a one time password is generated specifically for that client using Lamport's scheme which is then sent to the client allowing them to login. The user can then do some mock transactions and a text message is the sent to the client as a confirmation.
    I'm not sure where to start:
    - What technologies/API's do I need to implement?
    - Is there some free service that can send text/sms messages to a client wirelessly or maybe connected to the phone through USB.
    I have much experience in java web-apps, but none in mobile technologies so I am not sure where to start.
    Thanks

    Hi Pravin,
    Welcome....
    I would suggest to start by reading the following:
    Oracle Enterprise Performance Management System Documentation
    Specific paragraphs from http://docs.oracle.com/cd/E40248_01/epm.1112/financial_close_admin_11123500.pdf
    and HFM, Financial Consolidations & One Truth about...: ...the Hyperion Administrator
    Regards,
    Thanos

  • DITA authoring: Where to start?

    Dear All,
    I am using FM9 for our documentation authoring. I would like to introduce DITA authoring in my company and I am searching in the available FM user documentation for getting help. However, I could not find a help document which is narrating "where to start". All documentation is detailing what conref, what is DITA map etc. and really not addressing my requirement.
    My question is , could anyone please help me to find out how to develop a document using DITA . Can anyone pls sent me a work flow liike.
    Creeate DITA Map >> the create Topic>> then create reference.. etc.
    Regards,
    Jobin.

    In window environment ,if you have install the full Oracle client version , it will be store at location such as c:\oracle\ora92\bin { my 9i client..ehhehe}

  • Where to start for becoming a Forms&Reports developer????

    Hello
    I am new to Oracle and just finished tutorial that comes with db 10g xe.
    I want to become a forms&reports&design developer but I don't know where to start as in Oracle website there are so many tools,etc.
    Please any of you help me to put me in starting point otherwise it will be time consuming not knowing where to start.
    one of the guy made a comment saying:
    Oracle Forms and Reports is a bit 'old' now, and Oracle seems to be moving more towards web development with Application Express (APEX) (This comes with Oracle XE as standard). There is web development done in Forms and Reports but it looks like Oracle are moving away from these in favour of APEX.
    Do you think it 's worth to pursue with oracle forms,report??
    I don't want to learn something that is or soon will be out off market or absolete.
    But even with APEX which tool should i start to learn \ use to become forms&reports,design developer??
    Which is the best way to pursue in development sense for forms,...??
    Please help me to find my starting point for that secific developement.
    Please copy\past all the URL to start with.

    Hi Sasi,
    Please refer to CR100 base customising guide which is a starter for a CRM functional person.
    You can also refer to the http://help.sap.com/saphelp_crm70/helpdata/en/19/68a028d02b460fa899066d948ed3ab/frameset.htm
    link for more details.
    I hope this helps.
    Regards
    Yogesh Kathe

  • Sun 6000 Chassis - where to start

    I have been given the task to work on and cleanup a 6000 chassis with two blades. I don't have any of the logins for the system; can someone point me where to start so that I can access the management interface, etc.?
    Sorry for being a newbie but this is my winter project :)
    I need to know how to access the interfaces... Are the SER MGT and NET MGT ethernet ports? How do I get the IP and logins???
    Ugg... any help will be appreciated.

    There is an article, while it is for Application Server 7, it still could be useful:
    http://developers.sun.com/prodtech/javatools/jsenterprise/reference/docs/jse7/jse7_jboss_plugin.html

  • Integrating existing staff database and LDAP server - where to start?

    Hi,
    I really hope you guys can help me out here. Basically I have an Oracle based staff database and an LDAP server for global intranet application authentication. Now I've been tasked with implementing Oracle Portal for a local Intranet site, adding the usual static HR info, but also writing an editor for the staff database, some reports on other databases, and some simple workflows to authorise page updates, etc. I'm kind of stumped on where to start in integrating everything together. What's the best approach? Can I simply rewrite the views used by the portal to look at my staff tables, or do I need to refresh into the portal somehow? That being the case, how do I prevent users editing their data (as it'll be overwritten) Is it easy to authenticate against a third party LDAP server? If so, how? Plug-in in OID? Can I change the views in the portal to look at the data in my existing staff DB instead of the local portal tables? Many questions, I know, but Oracle's documentation is like diet food - lots of bulk with very little by way of calories. Getting very disillusioned with the whole thing to be honest, so some motivational success stories would be nice too!
    Regards,
    G Walker
    PS/ So far all I'm struck with is the number of bugs I've come across, and that's without doing anything fancy...

    Here is a link to a tutorial regarding AS2/PHP/MySQL that might be helpful.  You may need to search for database-specific tutorials as well.
    http://www.gotoandlearn.com/play.php?id=20

  • Hi,I am unsure if I have a safari or modem problem. It only happens when I use my macbook pro, my HP windows is fine. Internet crashes on modem and then a message that safari is not connected. I don't know where to start sorry I am not technical at all.

    Hi there, my internet is crashing everytime I use my macbook pro/safari it happens roughly every 2 mins, it can happen on any website.
    I am not technical at all and I am at a total loss of where to start with this. I did a bit of research on the internet but no luck in finding any
    help.
    Basically I am not sure if it is a modem of safari problem. I have no problems when using my HP on without windows explorer on the internet.
    I am working wireless ADSL 2 - Bigpond - 2 Wire 2701 HGV-W and a macbook pro purchased around 5 months ago. Since the purchase date
    I have had problems with internet.
    Safari brings up a page you are not connected to the internet. I then look at the modem and DSL and internet lights are both flickering and or/off.
    They then re-set themselves. I then have to re-set preferences on safari and quit and restart.
    I have also tried using with cable into mac and modem and no difference.
    I can only figure that maybe Safari is not compatible with the modem? could this be the case?
    Thanks for reading and any assistance would be appreciated.
    Fi

    There's an Apple help page on the DNS problem - at http://support.apple.com/kb/TS3408
    The first thing to try is changing your DNS settings - and for that you need to open System Preferences, then the
    Network section.
    In Network - click  on Advanced - then the DNS tab
    under DNS servers - use the + button to enter two extra lines
    either these, from google dns
    8.8.8.8
    8.8.4.4
    or from OpenDNS
    208.67.222.222
    208.67.220.220
    then click OK & then 'Apply'
    You would need to do that seperately for the Cable (Ethernet) settings and Wireless (Airport)

  • I have no idea where to start

    okay, hi! i'm trying to write a vending machine program for a class i'm taking. i have a text file with names, image URLs, and prices. I have a product class which is supposed to use filereader to read the fields in the text file. The product class is going to be loaded by the main VendMach class file, where i will have all of the main ui stuff written. The last file is the MoneyInOut class, which handles all of the money methods. i've got the majority of the UI file done, the text file is ready, and the money file is almost done...everything is hanging on whether or not i can write the product file. i have no idea where to start. any help would be greatly appreciated. i'm not looking for somebody else to write my code, but a point in the right direction would be great! here are the UI and text files:
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.text.NumberFormat;
    import java.util.StringTokenizer;
    // Still to be fixed:
    // 1. Purchase & Maintenance buttons.
    // 2. fix repaint of pictures, they don't display until a repaint is hit.
    // 3. fix the Quit from program, it doesn't work right.
    // 4. Put in the code for doing Maintenance.
    // 5. Button super.setSize
    // 6. Animate picture on selection.
    public class VendMach extends Applet implements ActionListener
    // Fonts for text and buttons.
    private Font boldSerif16 = new Font("Serif",Font.BOLD,16);
    private Font boldSerif24 = new Font("Serif",Font.BOLD,24);
    private Font boldItalicSerif24 = new Font("Serif",Font.BOLD+Font.ITALIC,24);
    private Font boldItalicSerif13 = new Font("Serif",Font.BOLD+Font.ITALIC,13);
    private Font boldItalicSerif40 = new Font("Serif",Font.BOLD+Font.ITALIC,40);
    //%% private Font boldItalicDialog16 = new Font("Dialog",Font.BOLD+Font.ITALIC,16);
    // Mode flag.
    private int mode = 0;
    // Panels for the buttons
    private Panel mainPanel = new Panel();
    private Panel cashPanel = new Panel();
    private Panel selPanel = new Panel();
    private Panel maintPanel = new Panel();
    // Product selection panel buttons
    private Button selBtn[] = new Button[6];
    // Cash customer puts in machine panel buttons
    private Button viewC = new Button("View The Products");
    private Button quit = new Button("Quit");
    private Button bNickle = new Button("Nickel");
    private Button bDime = new Button("Dime");
    private Button bQuarter = new Button("Quarter");
    private Button b$Paper = new Button("$1 Paper");
    private Button b$Coin = new Button("$1 Coin");
    private Label lCredit = new Label(" Credit:");
    private Label lMsg = new Label("");
    private Button bChange = new Button("Change Return");
    private Button purchase = new Button("Purchase");
    private Button maintenance = new Button("Maintenance");
    private Product productForSale [];
    private CashIn changeOH;
    private int $collected = 0;
    private double total$In = 0.00;
    private NumberFormat nf;
    private Image pic;
    private Image picAnim;
    private int prodSel = 999;
    private String line;
    private String f[] = new String[8];
    private int tokenCount;
    private int int3, int4, int5, int6, int7;
    private double dbl4;
    private StringTokenizer strings;
    private int dispense = 99;
    public void init()
    {  setLayout(new BorderLayout());
    productForSale = new Product[6];
    try
    {  BufferedReader inPut = new BufferedReader(new FileReader("Vend_Machine.txt"));
    while ((line=inPut.readLine()) != null)
    {  strings = new StringTokenizer(line,",");
    tokenCount = strings.countTokens();
    // Loop thru and retrieve each data element.
    for (int i=0; i<tokenCount; i++)
    f[i] = strings.nextToken();
    // Load the money.
    if (f[0].compareTo("M") == 0)
    {  int3 = Integer.parseInt(f[3]);
    int4 = Integer.parseInt(f[4]);
    int5 = Integer.parseInt(f[5]);
    int6 = Integer.parseInt(f[6]);
    int7 = Integer.parseInt(f[7]);
    changeOH = new CashIn(f[1],f[2],int3,int4,int5,int6,int7);
    // Load the products.
    if (f[0].compareTo("P") == 0)
    {  int3 = Integer.parseInt(f[3]);
    dbl4 = (new Double(f[4])).doubleValue();
    int5 = Integer.parseInt(f[5]);
    int6 = Integer.parseInt(f[6]);
    int7 = Integer.parseInt(f[7]);
    productForSale[int3] = new Product(f[1],f[2],dbl4,int5,int6,int7);
    inPut.close();
    catch(IOException e)
    {  e.printStackTrace();
    setBackground(Color.pink);
    setForeground(new Color(120,0,120));
    setFont(boldSerif16);
    cashPanel.setLayout(new GridLayout(10,1));
    cashPanel.add(viewC);
    cashPanel.add(quit);
    cashPanel.add(bNickle);
    cashPanel.add(bDime);
    cashPanel.add(bQuarter);
    cashPanel.add(b$Paper);
    cashPanel.add(b$Coin);
    cashPanel.add(lCredit);
    cashPanel.add(lMsg);
    cashPanel.add(bChange);
    add(cashPanel,"East");
    selPanel.setLayout(new GridLayout(1,6));
    for (int i=0; i<6; i++)
    {  selBtn[i] = new Button(productForSale.getName());
    selPanel.add(selBtn[i]);
    add(selPanel,"South");
    setBackground(Color.black);
    viewC.addActionListener(this);
    quit.addActionListener(this);
    bNickle.addActionListener(this);
    bDime.addActionListener(this);
    bQuarter.addActionListener(this);
    b$Paper.addActionListener(this);
    b$Coin.addActionListener(this);
    bChange.addActionListener(this);
    nf = NumberFormat.getCurrencyInstance();
    for (int i=0; i<6; i++)
    selBtn[i].addActionListener(this);
    } // =======>> END OF INIT METHOD
    // ** PAINT METHOD **
    public void paint(Graphics g)
    {  int xVal = 35;
    int yVal = 85;
    int xValAnim = 0;
    int yValAnim = 0;
    int c = 0;
    // Paint the product pictures on the vending machine.
    g.setColor(Color.cyan);
    g.setFont(boldItalicSerif24);
    g.drawString(changeOH.getLogo1(),115,40);
    g.setFont(boldItalicSerif13);
    g.drawString(changeOH.getLogo2(),200,60);
    for (int z=0; z<2; z++)
    {  xVal = 35;
    yVal = 85;
    c = 0;
    g.setColor(Color.black);
    g.fillRect(xVal,yVal,500,350);
    g.setColor(Color.yellow);
    for (int i=0; i<2; i++)
    {  for (int j=0; j<3; j++)
    {  g.setFont(boldSerif16);
    g.drawString(nf.format(productForSale[c].getPrice()),xVal+45,yVal-5);
    pic = getImage(getCodeBase(),productForSale[c].getPic());
    g.drawImage(pic,xVal,yVal,null);
    // If product is dispensed get ready to animate.
    if (c == dispense)
    {  xValAnim = xVal;
    yValAnim = yVal;
    picAnim = pic;
    xVal = xVal + 170;
    c++;
    yVal = yVal + 160;
    xVal = 35;
    // If product is dispensed, animate it.
    if (dispense < 99)
    {  for (int y=0; y<40; y++)
    {  g.setColor(Color.black);
    g.fillRect(xValAnim,yValAnim-9,125,125);
    g.setColor(Color.yellow);
    g.drawImage(picAnim,xValAnim,yValAnim,null);
    yValAnim = yValAnim + 10;
    pause(3);
    dispense = 99;
    if (mode == 0)
    {  pic = getImage(getCodeBase(),"OutStock.gif");
    g.drawImage(pic,300,300,null);
    g.setColor(Color.black);
    g.fillRect(1,1,500,300);
    g.setColor(Color.pink);
    g.setFont(boldItalicSerif40);
    g.drawString(changeOH.getLogo1(),10,150);
    g.setFont(boldItalicSerif24);
    g.drawString(changeOH.getLogo2(),160,250);
    mode++;
    } // =======>> END OF PAINT METHOD
    // ** ACTIONPERFORMED METHOD **
    public void actionPerformed(ActionEvent event)
    {  Object source = event.getSource();
    lMsg.setText(" Enter up to $1.00");
    // Customer puts money in the vending machine.
    // Customer paid a nickle
    if (source == bNickle && $collected < 96)
    {  changeOH.nickleIn();
    $collected = $collected + 5;
    // Customer paid a dime
    if (source == bDime && $collected < 91)
    {  changeOH.dimeIn();
    $collected = $collected + 10;
    // Customer paid a quarter
    if (source == bQuarter && $collected < 76)
    {  changeOH.quarterIn();
    $collected = $collected + 25;
    // Customer paid a paper dollar
    if (source == b$Paper && $collected == 0)
    {  changeOH.dollarPaperIn();
    $collected = $collected + 100;
    // Customer paid a coin dollar
    if (source == b$Coin && $collected == 0)
    {  changeOH.dollarCoinIn();
    $collected = $collected + 100;
    // Customer makes their product selection.
    for (int i=0; i<6; i++)
    {  if (source == selBtn[i])
    // Do nothing if customer selects item that isn't on-hand.
    if (productForSale[i].getOnHand() == 0)
    repaint();
    // We have product on-hand.
    else
    {  prodSel = i;
    // Tell customer to add more money if they don't have
    // enough in the machine to handle the purchase.
    if ($collected < (int) (productForSale[i].getPrice() * 100))
    { lMsg.setText("    Insert Money");
    // Customer has enough money in machine to cover purchase.
    else
    {  // Take cost of item from customer's money
    dbl4 = productForSale[i].getPrice() * 100;
    int4 = changeOH.giveChange($collected - (int)dbl4,0);
    // Tell customer to put exact amount in the machine
    // because there isn't enough change to handle purchase.
    if (int4 == 9)
    {  lMsg.setText("Exact Amount Only!");
    // **** Here the purchase was made and committed. ****
    else
    {  total$In = productForSale[i].getPrice() * 100;
    $collected = $collected - (int) total$In;
    productForSale[i].sellProduct();
    dispense = i;
    repaint();
    // If the last product item was sold, set picture to OutStock.gif.
    if (productForSale[i].getOnHand() <= 0)
    productForSale[i].setOutOfStock();
    if ((source == bChange || source == quit) && $collected > 0)
    {  $collected = changeOH.giveChange($collected,1);
    // Here we save the machine info file when customer asks
    // for their change back or quits the machine.
    // Customer has selected to Quit the vending machine program.
    // Quit the program.
    if (source == quit)
    System.exit(0);
    // These commands set up variables to show how much money
    // the customer has in the machine.
    total$In = $collected;
    total$In = total$In / 100;
    lCredit.setText(" Credit: " + nf.format(total$In));
    repaint();
    } // =======>> END OF ACTIONPERFORMED METHOD
    // ** PAUSE METHOD **
    public void pause(int i)
    {  for(long l = System.currentTimeMillis() + (long) i; System.currentTimeMillis() < l;);
    // =======>> END OF VENDMACH CLASS APPLET
    // ** CASHIN CLASS **
    class CashIn
    {  private String logo1;
    private String logo2;
    private int numProd;
    private int nickles;
    private int dimes;
    private int quarters;
    private int dollarsP;
    private int dollarsC;
    private int money;
    private double moneyVal;
    private int amtToChange = 0;
    private int hNickle;
    private int hDime;
    private int hQuarter;
    private int hpDollar;
    private int hcDollar;
    public CashIn(String l1, String l2, int p, int q, int d, int n, int dP)
    {  logo1    = l1;
    logo2 = l2;
    numProd = p;
    quarters = q;
    dimes = d;
    nickles = n;
    dollarsP = dP;
    dollarsC = 0;
    money = (n * 5) + (d * 10) + (q * 25) + (dP * 100);
    // Get total of money in machine.
    public double getCashIn()
    {  moneyVal = money;
    moneyVal = moneyVal / 100;
    return moneyVal;
    // Get machine record information.
    public String getLogo1()
    {  return logo1;
    public String getLogo2()
    {  return logo2;
    public int getNumProd()
    {  return numProd;
    public int getNickles()
    {  return nickles;
    public int getDimes()
    {  return dimes;
    public int getQuarters()
    {  return quarters;
    public int getDollarPaper()
    {  return dollarsP;
    public int getDollarCoins()
    {  return dollarsC;
    // Money comes into the machine
    public void nickleIn()
    {  nickles++;
    money = money + 05;
    public void dimeIn()
    {  dimes++;
    money = money + 10;
    public void quarterIn()
    {  quarters++;
    money = money + 25;
    public void dollarPaperIn()
    {  dollarsP++;
    money = money + 100;
    public void dollarCoinIn()
    {  dollarsC++;
    money = money + 100;
    // Give the customer their change.
    public int giveChange(int custMoney, int mode)
    {  hNickle   = nickles;
    hDime = dimes;
    hQuarter = quarters;
    hpDollar = dollarsP;
    hcDollar = dollarsC;
    amtToChange = custMoney / 100;
    for (int i=0; i<amtToChange; i++)
    {  // Give change in dollar coin if possible
    if (hcDollar > 0)
    {  hcDollar--;
    custMoney = custMoney - 100;
    // or else give change in paper dollar
    else
    {  if (hpDollar > 0)
    {  hpDollar--;
    custMoney = custMoney - 100;
    amtToChange = custMoney / 25;
    for (int i=0; i<amtToChange; i++)
    {  if (hQuarter > 0)
    {  hQuarter--;
    custMoney = custMoney - 25;
    amtToChange = custMoney / 10;
    for (int i=0; i<amtToChange; i++)
    {  if (hDime > 0)
    {  hDime--;
    custMoney = custMoney - 10;
    amtToChange = custMoney / 5;
    if (amtToChange > hNickle)
    {  mode = 9;
    for (int i=0; i<amtToChange; i++)
    {  hNickle--;
    custMoney = custMoney - 5;
    if (mode == 1)
    {  nickles   = hNickle;
    dimes = hDime;
    quarters = hQuarter;
    dollarsP = hpDollar;
    dollarsC = hcDollar;
    money = money - custMoney;
    if (mode == 9) custMoney = 9;
    return custMoney;
    } // =======>> END OF CASHIN CLASS
    // ** PRODUCT CLASS **
    class Product
    {  private String name;
    private String image;
    private String picUsed;
    private double price;
    private int onHand;
    private int sold;
    private int maint;
    public Product(String n, String i, double p, int o, int s, int m)
    {  name    = n;
    image = i;
    picUsed = i;
    price = p;
    onHand = o;
    sold = s;
    maint = m;
    // Reset picture used when product is out of stock.
    public void setOutOfStock()
    {  picUsed  = "OutStock.gif";
    // Get product information
    public String getName()
    {  return name;
    public String getImage()
    {  return image;
    public String getPic()
    {  return picUsed;
    public double getPrice()
    {  return price;
    public int getOnHand()
    {  return onHand;
    public int getQtySold()
    {  return sold;
    public int getMaintDate()
    {  return maint;
    // Sell one of the product.
    public void sellProduct()
    {  onHand--;
    sold++;
    // Set the product values.
    public void setName(String n)
    {  name = n;
    public void setImage(String i)
    {  image   = i;
    picUsed = i;
    public void setPrice(double p)
    {  price = p;
    public void setOnHand(int o)
    {  onHand = o;
    public void setQtySold(int s)
    {  sold = s;
    public void setMaintDate(int m)
    {  maint = m; }
    this is the text file
    p,Fritos,Images/FritoLay.gif,
    m,$.50,
    p,Dr. Pepper,Images/Dr.Pepper.gif,
    m,$.60,
    p,Pepsi,Images/Pepsi.gif,
    m,$.60,
    p,Coke,Images/CocaCola.gif,
    m,$.60,
    p,Seven-Up,Images/7-Up.gif,
    m,$.60,
    p,Sprite,Images/Sprite.gif,
    m,$.60,
    c,10,20,40,
    i know that the filereader is supposed to read the fields...i guess i just have a weak start on understanding and implementing arrays.

    I write this sample some time ago, you can use it to start a new project
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class CVM extends JFrame 
         JTextField mw = new JTextField("0");     
         JTextField hf = new JTextField("0");     
         JTextField ds = new JTextField("0");     
         JTextField lr = new JTextField("0");     
         JTextField py = new JTextField("0");     
         JTextField tp = new JTextField("0");     
         JTextField ch = new JTextField("0");     
    public CVM()
         super("Chocolate Vending Machine");
         setBounds(0,0,500,400);
         addWindowListener(new WindowAdapter()
         {      public void windowClosing(WindowEvent ev)
                   dispose();
                   System.exit(0);
         JPanel pan = new JPanel();
    //     pan.setLayout(new GridLayout(0,2,4,4));
         JPanel lp = new JPanel();
         lp.setBackground(Color.pink);
         lp.setLayout(new GridLayout(16,2,4,4));
         addButton(lp,"Milky Way    20$",mw);
         addButton(lp,"Hot Fudge    40$",hf);
         addButton(lp,"Dandy Shandy 50$",ds);
         addButton(lp,"Lovers Rock  80$",lr);
         addClearButton(lp);
         lp.add(new JLabel(""));
         lp.add(new JLabel(""));
         addPayButtons(lp);
         addMoneyBack(lp);
         pan.add(lp);
         setContentPane(pan);
         setVisible(true);
    private void addPayButtons(JPanel pan)
         JPanel lp = new JPanel();
         lp.setOpaque(false);
         lp.setLayout(new GridLayout(0,2,4,4));
         JButton b1 = new JButton("Pay 5");
         addPay(b1,5);
         b1.setMargin(new Insets(0,0,0,0));
         JButton b2 = new JButton("Pay 10");
         addPay(b2,10);
         b2.setMargin(new Insets(0,0,0,0));
         lp.add(b1);
         lp.add(b2);
         pan.add(lp);
         lp = new JPanel();
         lp.setOpaque(false);
         lp.setBackground(Color.cyan);
         lp.setLayout(new GridLayout(0,2,4,4));
         JButton b3 = new JButton("Pay 20");
         addPay(b3,20);
         b3.setMargin(new Insets(0,0,0,0));
         JButton b4 = new JButton("Pay 50");
         addPay(b4,50);
         b4.setMargin(new Insets(0,0,0,0));
         lp.add(b3);
         lp.add(b4);
         pan.add(lp);
         pan.add(new JLabel("    Payd"));
         pan.add(py);
    private void addPay(JButton bt, final int i)
         bt.addActionListener(new ActionListener()
         {     public void actionPerformed( ActionEvent e )
                   int n = Integer.parseInt(py.getText())+i;
                   py.setText(""+n);
                   calculate();
    private void addButton(JPanel pan, String s, final JTextField jt)
         JButton    bt = new JButton(s);
         bt.setHorizontalAlignment(SwingConstants.LEFT);
         bt.setMargin(new Insets(0,0,0,0));
         pan.add(bt);
         bt.addActionListener(new ActionListener()
         {     public void actionPerformed( ActionEvent e )
                   int i = Integer.parseInt(jt.getText())+1;
                   jt.setText(""+i);
                   calculate();
         jt.setHorizontalAlignment(SwingConstants.CENTER );
         jt.setEditable(false);
         jt.setBackground(Color.white);
         pan.add(jt);
    private void calculate()
         int nwi = Integer.parseInt(mw.getText()) * 20;       
         int hfi = Integer.parseInt(hf.getText()) * 40;  
         int dsi = Integer.parseInt(ds.getText()) * 50;  
         int lri = Integer.parseInt(lr.getText()) * 80;  
         int t   = nwi+hfi+dsi+lri;
         if (t >= 100) t = t - (t/10);
         tp.setText(""+t);
         int n = Integer.parseInt(py.getText());
         int c = n-t;
         ch.setText(""+c);
    private void addClearButton(JPanel pan)
         pan.add(new JLabel("    To pay"));
         pan.add(tp);     
         JButton    bt = new JButton("Clear");
         bt.setHorizontalAlignment(SwingConstants.CENTER);
         bt.setMargin(new Insets(0,0,0,0));
         pan.add(bt);
         bt.addActionListener(new ActionListener()
         {     public void actionPerformed( ActionEvent e )
                   mw.setText("0");       
                   hf.setText("0");  
                   ds.setText("0");  
                   lr.setText("0");  
                   tp.setText("0");  
         pan.add(new JLabel(""));
    private void addMoneyBack(JPanel pan)
         JButton    bt = new JButton("Money back");
         bt.setHorizontalAlignment(SwingConstants.CENTER);
         bt.setMargin(new Insets(0,0,0,0));
         pan.add(bt);
         bt.addActionListener(new ActionListener()
         {     public void actionPerformed( ActionEvent e )
                   py.setText("0");
                   ch.setText("0");
         pan.add(new JLabel(""));
         pan.add(new JLabel("    Change"));
         pan.add(ch);     
    public static void main( String[] args)
         new CVM();
    }Noah

Maybe you are looking for

  • My iMac cannot read my Verbatim external hard drive since I updated to Yosemite today - what can I do?

    I updated to Yosemite today and now have no access to my Verbatin external hard drive. My anti virus software - Kaspersky for Mac has also stopped working. I have identical problems on my Macbook Pro. Does anyone know of fixes for either problem plea

  • Apple Mail program not working

    Little loading symbol next to my apple acct spins and spins, does not connect or download (import) mail. My others (including the ever powerful Apple-whuppin G-Mail) all bring in the mail. There is ABSOLUTELY no reason (or changed made) that would ca

  • Downloaded upgrade to itunes

    Urgent advice please! I've just downloaded the upgrade for itunes and after the restart i'm getting the message - Itunes cannot run because some of the required files are missing. Please re-install. If i do re-install will i lose you songs and playli

  • Problems with Powerpoint 2008 Presenter Mode

    Hi, I am trying to use Powerpoint 2008 in Presenter Mode so that I can practice with my notes and time myself, but I can't start the timer because any time I move the mouse, it exits presenter mode and enters the basic slideshow. Any tips? I last use

  • Itunes is not reading 3rd generation ipod. help please.

    ok so here is the deal. i just bought a 3rd generation ipod for my lil sister and itunes does not read it at all. but i have a 2nd generation ipod myself and it works just fine. i have done the 5 R thing and it still does not work. anyone have any su