Need help in developing a traffic light simulator!

I have to build a taffic light simulator using java applets.It will be a single four-way intersection.First of all,where should I start?

might depend if u just want a those crappy ones that
are just timed that u have to sit there and wait 2
minutes when ur the only one on the road or ones that
try to help with the flow of traffic with the sensors
for when cars are comming etcYou can also create the "high end" one without threads. Think of game programming. It's very seldom that you have many threads in them. You can have a loop and short sleeps.
/Kaj

Similar Messages

  • Need help to develop Pythagoras theorem-

    Hi i need help to develop proofs 2,3,4
    of pythagoras theorems in java as demonstrations
    These are applets can anyone help me with it or give me an idea of how to go about developing it -
    the site is the following
    http://www.uni-koeln.de/ew-fak/Mathe/Projekte/VisuPro/pythagoras/pythagoras.html
    then double click on the screen to make it start

    Pardon my ASCII art, but I've always liked the following, simple, geometric proof:
         a                   b
    ---------------------------------------+
    |       |                                |
    a|   I   |              II                |
    |       |                                |
    ---------------------------------------+
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    b|  IV   |              III               |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    ---------------------------------------+It almost goes without saying that I+II+III+IV == (a+b)^2, and II == IV == a*b,
    I == a*a and III == b*b, showing that (a+b)^2 == a^2+a*b+a*b+b^2.
    I hope the following sketch makes sense, stand back, ASCII art alert again:     a                   b
    ---------------------------------------+
    |               .             VI         |
    |     .                 .                |a
    | V                               .      |
    |                                        +
    |                                        |
    |   .                                    |
    b|                                     .  |
    |                                        |
    |                  IX                    |
    | .                                      |
    |                                    .   |b
    |                                        |
    +                                        |
    |      .                                 |
    a|               .                  . VII |
    |  VIII                   .              |
    ---------------------------------------+
                     a                    bThe total area equals (a+b)^2 again and equals the sum of the smaller areas:
    (a+b)^2 == V+VI+VII+VIII+IX. Let area IX be c^2 for whatever c may be.
    V+VII == VI+VIII == a*b, so a^2+b^2+2*ab= c^2+2*a*b; IOW a^2+b^2 == c^2
    Given this fundamental result, the others can easily be derived from this one,
    or did I answer a question you didn't ask?
    kind regards,
    Jos

  • Need help in developing BADI for IT0001

    Hi All,
    I need help in developing BADI for IT0001.
    On IT0001 create or change, there is need to update IT0017 with following data from IT0001
    -Company Code
    -Cost center
    -Business Area
    -Begin and End Date.
    Other fields from IT0017 need to be derived from Position and update in IT0017.
    Please guide me how I can address this. I do not want to go for dynamic action, as it is not getting evoked during background jobs.
    I am new to BADI development and will appreciate step by step instructions.
    Thanks

    Hi,
         follow the below steps to achive
    Steps:
    1.     Execute Business Add-In(BADI) transaction SE18
    2.     Enter BADI name i.e. HRPAD00INFTY and press the display
            button
    3.     Select menu option Implementation->Create
    4.     Give implementation a name such as Z_HRPAD00INFTY
    5.      You can now make any changes you require to the BADI within this
            implementation, for example choose the Interface tab there are 3 methods avialble
    6.     Double click on the method you want to change, you can now enter
            any code you require.
    7.      Please note to find out what import and export parameters a
            method has got return the original BADI definition
            (i.e. HRPAD00INFTY) and double click on the method name
            for example within HRPAD00INFTY contract is a method
    8.      When changes have been made activate the implementation
    <b>Reward points</b>
    Regards

  • Need help to develop a custom connector

    I need some help on developing the custom connector to Homegrown application and the version i am using is OIM9.0.3
    First of all what are the steps do we need to care while developing a custom connector.
    I can't able to find the process in google to develop the custom connector.
    If you have any data regarding the development of custom connector, plz share to me....
    What are the thing do we need to take care while developing the connector.
    I referred in OIM9.1 version there was an option to develop the Custom connector by using Genric technology, can we create the custom connector by using the GTC feature in OIM 9.1
    early response will be appreciated

    The docs for the new GTC framework are here: http://download.oracle.com/docs/cd/E10391_01/doc.910/e10360/about.htm#Toc153968019. GTC is useful if you target application exposes standards-based SPML (Service Provisioning Markup Language) user management interfaces, although it sounds like this isn't the case for you.
    You will most likely need to go the traditional route in terms of connector development, which involves building OIM Process Task Adapters to invoke the application API's (I assume they're Java?) and invoking those adapters from within an OIM Provisioning Process.
    Rob

  • Need help in developing mobile app using SAP

    Hi
    I have a team of Android, iOS and Windows developers and we are planning to start developing mobile using SAP and SAP Fiori. Need help in getting started with SAP mobile development like i need plugins and development kits that i need to use.
    Thanks
    Ram

    Hi,
    What help needed ?
    For SAP Fiori  Use this link : http://scn.sap.com/docs/DOC-41598
    For SAP Fiori Installation and Configuration Steps: http://scn.sap.com/community/mobile/blog/2014/06/10/fiori-technical-installation-and-configuration-of-one-app-from-a--z
    Which Software you will use to  develop Mobile Apps in SAP Platform ?So that i will suggest what to do ..
    Regards
    Lokesh

  • Need help in developing virtual 3D Auction site

    {color:#000080}Hello,{color}
    {color:#000080}
    Can anyone through some light how to develop virtual 3D Auction site application in J2EE Env.{color}
    {color:#000080}
    Pls excuse me for not giving much details on this post.{color}
    {color:#000080}
    It will be great help if recommends any site and also through some light on what framework etc need to be used{color}
    {color:#000080}
    Regards{color}
    {color:#000080}
    Srini {color}

    gimbal2 wrote:
    You are a little too full of yourself. You think you have thought of something revolutionary here? You are basically turning ebay into second life.Maybe not revolutionary, but this is actually quite a good idea, on it's own (unless it's just another boo.com). But I think the OP is in way over his head.
    Srinivas_Reddy_Bijjam wrote:
    Is there any alternative to Adobe as UI or we need to stick to Adobe?
    It will be great help if suggestions are towards framewrk/language/tools.Adobe? You mean Flash here, right? You've already been given the best advice possible with the info you've provided, and Flash appeared as just one of the options.
    Anyway, in all seriousness, take a look at Seam framework, it has a lot to offer in web related projects and it even plays well with Flash (or so I've heard). And, if you're in the mood for heavy exotics, you might want to give JADE a look (for "communication" purposes solely).

  • Need help to develop report with column chart

    Hi
    I am new to SAP BO world.Could  anyone please help me to design report with column chart.Please guide me how to develop report for the following requirement.I am not aware of variance columns and variance labels.Please provide some guidance or some tutorials(for column Chart) so that I can complete the task. Please reply me as soon as possible.Waiting for reply.Thanks in advance.
    Type: Column Chart
    u2022     Rows: Banking Asset Margin (%)
    u2022     Start / End Columns: PY YTD Act(Prior year year to date); CY YTD Act(Current year Year to date)
    u2022     Variance Columns: # Var (CY-PY Act) for GOLM; Volume; Rate; Non Banking NII; Banking Volatility in NII; Banking Volatility in OOI; Fees/One Offs/Other; Volatile Items; Sophie
    u2022     Sub-total columns: PY YTD Underlying; CY YTD Underlying.
    u2022     Variance Labels: % Var (CY-PY Act) for Total Income and Underlying Income
    u2022     Sub-Total Labels: # Var (CY-PY Act) for Net Insurance Income; Banking Volatility; Other Operating Income
    Additional information
    u2022     Variance columns (bar) colours: Red = Adverse to Prior Year; Green = Favourable to Prior Year
    u2022     Columns to show values. Adverse values to be shown in red text in brackets. Favourable results in black text.
    u2022     All values in Black, but adverse to be shown below the bar.

    Hi,
    This type of question is almost impossible to answer over a forum .
    You need to work with your business to understand what these requirements mean in terms of data modelling and relationships between object entities.
    - Some of these metrics should be delegated to source, and calculated in the update routines to your datatargets (aka Cubes/Tables)
    - Others could be resolved in the semantic layer (Universe)
    - Other will be calculated in the presentation layer as local formulae or variables.
    whilst BusinessObjects is a fairly intuitive tool, it may be unreasonble to expect a new learner to deliver an advanced report with conditional formatting.
    Regards,
    H

  • Need help to develop app to remotely add tags to iTunes music from iPhone

    Hi
    I have recently developed a simple app that sits on my desktop and allows me to add specific tags/text to the 'comment' field of the currently playing track in my iTunes library, the text added depending on the item clicked in some drop-down menus.
    This is fine for when I am sitting at my Mac, but most of the time I would like to be able to add tags from a distance, i.e. remotely, using the iPhone, so I started to develop my first iPhone app for this purpose.
    I have succesfully designed a simple Tab Bar Application, with two views, which have all the buttons I need, but now I am stumped as to how to set up the remote part of the app. On the Desktop version I simply wrote some applescript with sections for each of the menu items. On the iPhone I am not sure how I would go about this.
    Any help with this, either with the procedure I need to follow, or pointing me in the right direction of a tutorial or some such thing, would be gratefully received.
    thanks
    nick.

    Do you mean write access to the iTunes library, rather than iPod library?
    If so, if I can accomplish my task with getting the iPhone app to interact with the Desktop app that would be fine. However, I have no idea of how to go about this. Can you give me any pointers?
    The desktop app basically consists of a few drop down menus with items that are linked to sections in the project's applescript, which tell iTunes to add specific text to the comments field.
    Thanks
    Nick

  • Need help to develop CMDB using Apex

    Hi,
    We have a large number of servers, databases, environments, applications, etc for which we have planned to create a repository. Hence we need to develop a CMDB for the same.
    I have gone through the example tutorials related to Apex.
    However, I have never used Oracle 11g or Apex or SQL*Plus, which are required for this purpose.
    After installing Oracle11g, how do I create a test/fresh database in Oracle before installing Apex in it?
    So can someone help me with a detailed procedure to implement this CMDB, including installation of Apex?
    Thanks in advance.
    You can also reach me at [email protected]
    Regards
    Sharath
    Edited by: 906997 on Jan 10, 2012 1:35 AM
    Edited by: 906997 on Jan 10, 2012 1:55 AM

    Hello Sharath,
    >
    After installing Oracle 11g, we need to create some database in it so that Apex can be installed in it right?
    Can you please guide me on how to create the first database or some database in Oracle 11g?
    >
    You have to create a database if only you have installed Oracle 11g it with Install Database Software Only instead of Create and Configure Database option.
    If don't have a database now you have to create one with Database Configuration Assistant, suppose you have Oracle Database 11g Release 1:
    http://docs.oracle.com/cd/B28359_01/server.111/b28301/install003.htm#BABEIAID
    Besides this forum category is dedicated to Oracle Application Express, for Oracle Database related questions please post on:
    {forum:id=61}
    You will get appropriate answer when you post in appropriate forum.
    In order to get accurate/appropriate response you should include at least following information with your question:
    <ul>
    <li>Full APEX version</li>
    <li>Full Database version</li>
    <li>APEX Web server architecture (EPG, OHS or APEX listener)</li>
    <li>Browser(s) and version(s) used</li>
    <li>Operating system with version</li>
    </ul>
    Please read the [url https://wikis.oracle.com/display/Forums/Forums+FAQ]FAQ and [url https://forums.oracle.com/forums/ann.jspa?annID=1324]forum instructions for more information on using OTN forums effectively.
    Please update your forum profile with a real handle instead of *906997*.
    Hope it helps!
    Regards,
    Kiran

  • Need help to develop a customised search  BSP page

    Hi Every one.
    I need to develop a custom BSP search page which is a modified version of search.htm page of HCM_LEARNING bsp application.
    here we need to replace the Qualification dropdown boxes with 2 qualifications in tree format where first one is 1. Prerequisite and 2. Aspired . the values will be in node format and the other functionality should work the same  way as it works in search.htm page.
    How to handle 3 events now?? 1. Node click on Prerequisite Tree
                                                 2. Node Click on Aspired Tree
                                                 3. Find button click
    Only when the find button is clicked , The search should happen not on any node click.
    Could you please suggest me some thing how to proceed??
    Samikhya

    Look at the below step by step blogs to create custom serach page. It will help.
    /people/koen.labie2/blog/2006/11/17/showhelp-functionality-with-pop-up--part2
    /people/koen.labie2/blog/2006/09/28/showhelp-functionality-with-pop-up
    /people/thomas.jung3/blog/2004/11/01/bsp-value-input-help-popups-version-20-part-1
    /people/thomas.jung3/blog/2004/11/01/bsp-value-input-help-popups-version-20-part-2
    /people/thomas.jung3/blog/2004/09/17/bsp-150-a-developer146s-journal-part-xii-150-value-input-help-popups
    Regards,
    Raja

  • Need help in development of IDE

    Hello Friends
    I am trying to develope an online IDE (Java-based Editor like Textpad) .So,I need to know the Architecture and core functionality of any IDE that how it is work,how JDK1.4 invoke methods,how I can compilation done of any user program, so please help.
    If anyone have a complete knowledge or some good idea about to resolve my problem so please tell me.
    Thanks in advance..

    As for adding members to the outline, you can either do it manually (not too painful for a Time Periods dimension), or if you have the members you need in a file, or available via SQL, then load 'em up using a Load Rule. Using the Parent/Child relationship is one of the preferred methods, but that means your source data needs to be in a parent / child relationship.
    There are other ways in the load rule, Generation, Level, etc, but if your source data isn't very good these methods of building the dimension can be a little harder to control.
    Here's a link to the DBAG for dataload rules.
    http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_dbag/frameset.htm?ddlintro.htm
    Edited by: RobertR3 on Apr 13, 2011 8:36 AM

  • Need help with buttons in a phone simulation

    Hello
    I have built a telephone interface to be used for training in a Call Center.
    I am attempting to allow the user to press on the numberpad to enter passwords and such.
    It is only a simulation and will only work if the user presses the correct buttons.
    I am able to create the simulation when the user presses different buttons such as 1234
    but I need them to press 0000 (zero 4 times)
    I am not sure how to do this...
    I have been playing around with the advanced actions, which has allowed me to accomplish the hide and show actions when the user clicks a button, but wondering if there is a way I can
    have them click the 0 on the dialpad so each time it brings up the next zero
    once its gets to the 4th one, it will advance to the next slide...
    Hope that makes sense
    I appreciate any help or advice
    thanks
    Melissa

    Hi there,
    What I did, I took a variable 'counter123' and assign '0' value to this variable.
    I then added a button with Advanced action, I am sharing the Screenshot of the advanced action panel.
    Screen shot 1 :
    Incrementing the Value on click :
    The value of the variable should increase on every click, so lets add a true statement as a condition.
    Screenshot no 2 :
    As normally on buttons/click boxes, the project will continue as soon we click them.
    lets compare the value of our variable and then pause the project.
    Screen shot 3 :
    last if our purpose is solved, here we have clicked the button 4 times, so that has updated the value of our counter to 4, so as soon as the counter exceeds the value, we want the project to continue.
    please let me know if this helps you.
    This will help you in pressing a button 4 times, and i think you can also add actions to show and hide 'zeros' in your project.
    I find such scenarios very interesting and I always find help on Lilybiri's Blog : http://lilybiri.posterous.com/
    Thanks

  • Need help in generating L4 Traffic monitor logs

    Hi,
    As a part of my project I need to study different types of logs produced by Cisco IronPort. I could generate some access and authentication logs however not sure about generating the L4 Traffic Monitor logs. Can anyone point me to right documentation that will help me generate those logs?
    Thanks,
    Harshad Kashikar

    Harshad,
    L4 Traffic Monitoring needs to be configured within the IronPort - first question is do you have a SPAN/TAP port set up on your switch to capture L4 traffic?
    Second, I only use this feature to capture information on malware/spyware - I have seen P2P, IRC, and 'phone-home' traffic amongst other things.  Do you have an infected host you can monitor?
    BF

  • Need help in developing mobile application?

    Hi all,
    I am learning how to develop mobile applications in Jdeveloper environment. I have been searching a lot in google but unable to come to a conclusion on the way in which I could get this.
    Kindly post some links where I can get some documents on this and I need to develop a mobile application which should be able to render in almost all the mobile platfoms so far I have gone through
    the links where the applications can be rendered only in some selected mobiles like blackberry. so Kindly help me in searching for the best possible options.
    Thanks,
    Phanindra.

    Hi,
    Check following will useful
    http://www.oracle.com/technetwork/developer-tools/adf/overview/adf-mobile-096323.html
    http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/mobile/mobile.htm

  • Need help on developing system as my final year project

    hello everyone.
    I would like to find someone who can guide me in developing a system for my final year project ( title:Event Correlation Analysis System).As i am not really good in programming i find it very difficult to start in code the program.Whateva it is i need to develop the program in order to be graduated.I am having a very hard time here as this title is given to me by my lecturer who is expecting me to do everything..Please anyone help to guide me.
    My project is about using java to create a system which can monitor log file and uses some rules to correlate and output to end-user the prove of a particular problem (i.e: accessing pornography.).for more information find articles about event correlation system.
    thousands of thanks in advance.

    Praveen_Forum wrote:
    Vijen..!!
    just forget it no one here would write code for you it is you who have to struggle and write some code come back if you have any specific questions regarding the coding or architecture or something like that so [Get Started|http://java.sun.com/docs/books/tutorial/getStarted/index.html]
    OP didn't ask anyone to code it for him/her
    that said, OP needs to put forth some effort
    you'd think a final year student could demonstate a bit more understanding of how to interact in a community such as this
    i'm also curious to know why a final year student has been given a software project but doesn't know how to program?

Maybe you are looking for