Android Question Where is package java.awt.peer

Discussion in 'Android Questions' started by B_FISH, Mar 5, 2015.

  1. B_FISH

    B_FISH Member Licensed 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
     
  2. keirS

    keirS Well-Known Member Licensed User

    Not sure what you are trying to do but Android doesn't support AWT GUI components except for fonts.
     
  3. B_FISH

    B_FISH Member Licensed 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
     
  4. B_FISH

    B_FISH Member Licensed 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??
     
  5. keirS

    keirS Well-Known Member Licensed User

    Yes LWUIT is one. There are others available.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice