Skip to content

Cannot import java.awt #92

Description

@knupel

Describe the bug

Hello,
I need to use in my Library

import java.awt.GraphicsEnvironment;
import java.awt.GraphicsDevice;
import java.awt.Rectangle;

But the library cannot import for unknown reason :

Image Image

I try with java 17 and java 19 same result : fail

Image

When I used java.awt. in Processing 4 folder or in my own project that's work fine.

I try to search something about this problem, but all solution is to check if my java installation is up-to-date, and my java installation is ok.
So I suppose that's can be a setting in the library, but I don't find where i can set the java import.

Et voilà

Steps to reproduce

.../...

Expected behavior

.../...

Actual behavior

.../...

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions