Date: Wed, 29 Jul 1998 21:46:10 -0700 (PDT)
From: "rambabu M.Rambabu" <maddineni@yahoo.com>
To: java-security@java.sun.com
Dear sir,
I have developed a applet for an application,using Symantec cafe.
Basically applet throughs Panel and from panel It throughs Dialog
boxes and other Panels etc.Problem is working well in nets
cape all versions.In internet Explorer and Symantec Cafe applet viewer
it gives Null pointer exception when tried to get first Panel from the
base applet.And java.awt.List behaving differently(not showing as it
is in form designer)in both cafe and internet explorer.
cafe generating code for a Panel like this.
//{{INIT_CONTROLS
setLayout(null);
<-----addNotify();------------------->
resize(600,285);
labelHeader = new java.awt.Label("Select An NSP",Label.CENTER);
labelHeader.reshape(156,12,192,39);
labelHeader.setFont(new Font("Dialog", Font.BOLD, 16));
add(labelHeader);
cbProperties = new java.awt.Button("Properties");
cbProperties.reshape(384,84,96,24);
add(cbProperties);
imageButton2 = new symantec.itools.awt.ImageButton();
imageButton2.reshape(72,120,53,48);
add(imageButton2);
imageButton3 = new symantec.itools.awt.ImageButton();
imageButton3.reshape(72,180,53,48);
add(imageButton3);
imageButton1 = new symantec.itools.awt.ImageButton();
imageButton1.reshape(72,60,53,48);
add(imageButton1);
lstBandwidth = new java.awt.List(0,false);
lstBandwidth.addItem("AOL Gold Service");
If I comment this addNotify() it is working well in Internet
explorer and it is not giving Null pointer Exception.Please expalin
why this addNotify() causes like this in explorer.please help me.
M.rambabu
Macmet Interactive technologies
calcutta.
E mail . maddineni@yahoo.com
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com