Help) The type MouseEvent is ambiguous / java.awt.event vs g4p_controls

Hello. Nice to meet you.

It seems that the two libraries are conflicting.

Is there a workaround?

import java.awt.event.;
import g4p_controls.

GWindow window1;
public void windowMouse1(PApplet appc, GWinData data, MouseEvent event) {


void setup(){
void draw(){

1 Like

Essentially I couldn’t solve it.
So I used it in a different way.

import g4p_controls.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;