Bizzare error in an applet

Discussion in 'Java' started by aaronfude@gmail.com, Jan 23, 2006.

  1. Guest

    Hi,

    This error has started occurring spontaneously.

    I have an applet with a bunch of private memebers and a private
    subclass (that implements ListSelectionListener). When the value
    changed method refers to one of the private members, I get the
    following error?

    Exception in thread "AWT-EventQueue-2" java.lang.IllegalAccessError:
    tried to access field mypackage.MyApplet.myMember from class
    mypackage.MyApplet$MySelectionListener.

    When I run essentially the same code as an application, no such problem
    occurs.

    What the heck is going on?!!

    Many thanks in advance.

    Aaron
     
    , Jan 23, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. bill joyce

    Bizzare session variable issue

    bill joyce, Oct 18, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    334
    bill joyce
    Oct 20, 2003
  2. Keith-Earl
    Replies:
    1
    Views:
    2,008
    Peter O'Reilly
    May 3, 2004
  3. Replies:
    0
    Views:
    459
  4. JavaEnquirer

    Bizzare web start problem

    JavaEnquirer, Aug 24, 2005, in forum: Java
    Replies:
    3
    Views:
    1,568
    JavaEnquirer
    Aug 25, 2005
  5. BCC
    Replies:
    8
    Views:
    324
    John Harrison
    Sep 24, 2005
Loading...

Share This Page