Convert MouseEvent/ActionEvent to a JSEvent

Hi, is there a way to convert java.awt.event, like MouseEvent or ActionEvent, to a JSEvent?

not through javascript code, in java you could fill it up with the things you want if really needed (not really api so it could change)

All right! Thanks!