Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Lourdes Edwards   on Oct 14 In Java Category.

  
Question Answered By: Wilfred Young   on Oct 14

I found the problem.
I've forgotten to Launch init() method of my button class

public void  init()
{
Container ct=getContentPane();
tom=new myGraphic();
tom.init();// <-- in fact i got a NullPointer Exception
ct.add(tom);
tom.addMouseListener(this);
}

Now, i think i have another problem, my applet  run correctly with JBuiler 7
appletViewer, but not with Explorers.
I think i have a security problem.

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on My first Applet have a problem Or get search suggestion and latest updates.


Tagged: