Skip to content

actual and formal argument lists differ in length #9

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. load sketch 
2. compile
3.

What is the expected output? What do you see instead?
Expect successful compile

C:\Users\Anyone\AppData\Local\Temp\android4532046760202925669.pde\src\changethis
package\beforesubmitting\tothemarket\aptogglebutton\APToggleButton.java:23: 
error: constructor APToggleButton in class APToggleButton cannot be applied to 
given types;
    [javac]   toggleButton = new APToggleButton(10, 200, 100, 70, "Show rectangle"); //create new toggle button from x- and y-pos. and label.
    [javac]                  ^
    [javac]   required: no arguments
    [javac]   found: int,int,int,int,String
    [javac]   reason: actual and formal argument lists differ in length


What version of the product are you using? On what operating system?
apwidgets44 on win7

Please provide any additional information below.

Using Processing 2.0a4

The two edit text examples work fine all the others fail compilation with 
similar errors.


Original issue reported on code.google.com by hjar...@paradise.net.nz on 12 Jan 2012 at 8:09

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions