Android Question Where is package java.awt.peer

B_FISH

Member
Licensed User
Longtime User
Trying to run Source Library Compiler and get the following error message:


MyLib\src\AWTEvent.java:30: error: package java.awt.peer does not exist
import java.awt.peer.ComponentPeer;

I looked in AwtEvent.java; sure enough that file is trying to import the missing package.

Help??

B_FISH
 

keirS

Well-Known Member
Licensed User
Longtime User
Not sure what you are trying to do but Android doesn't support AWT GUI components except for fonts.
 
Upvote 0

B_FISH

Member
Licensed User
Longtime User
Trying to convert a VERY old java applet (for use in web pages) to a library that might possibly be useful in B4A.

Thanks for your answer..... I'm an extreme Android NOOB.

B_FISH
 
Upvote 0

B_FISH

Member
Licensed User
Longtime User
I should have asked before.....

Is there another module in Java that can be used to replace the AWT functionality, and also be supported by Android??
 
Upvote 0
Top