Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Methods not visible in self made library

$
0
0

Hi.

I have made a library to enable some quicker and easier interaction. I made it in eclipse, which does not find any errors. I have also tried to import it into Processing, which at least does not seem to give an errors about importing the library or declaring class instances. But it can not use any of the methods defined in the library. For example, when I try to call a constructor:

import quickInteraction.*; QuickInteraction qi = new QuickInteraction(this);

I get the error "The constructor QuickInteraction(PApplet) is not visible". However I know that the constructor with that parameter are in the library and both class and constructor are public.

If anyone can help, please do. And if more code pieces from the library are needed, please ask, and I shall deliver. Thank you.


Viewing all articles
Browse latest Browse all 2896

Trending Articles