B4J Tutorial [Example] Building a coalition

Discussion in 'B4J Tutorials' started by Erel, Sep 18, 2019.

  1. Erel

    Erel Administrator Staff Member Licensed User


    We had an elections yesterday and I saw a nice widget which can serve as a small example.

    There are several parties each one with a random number of chairs.
    The government is made of 61+ chairs out of a total of 120 chairs.

    BitmapCreatorEffects is used to create images with other colors based on the black image.
    The chairs are updated in a resumable loop. The target number and the current number are compared each time.

    Attached Files:

    imbault, fredo, ShaneG30 and 7 others like this.
  2. alwaysbusy

    alwaysbusy Expert Licensed User

    You MUST be laughing with our constant problems in Belgium to form one... :D:D:D
    José J. Aguilar likes this.
  3. José J. Aguilar

    José J. Aguilar Well-Known Member Licensed User

    So better don’t read anything about Spain... we have to vote again because they had no agreement
    Dadaista and alwaysbusy like this.
  4. Erel

    Erel Administrator Staff Member Licensed User

    No laughing here. It was the second elections this year and there is a good chance that the third one is not far away.
    alwaysbusy and José J. Aguilar like this.
  5. Magma

    Magma Well-Known Member Licensed User

    democracy problems... :)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice